Posted on: 10/9/2014 1:16:53 PM | Views : 424

Hi there,
I'm trying (struggling) to implement a form based authentication using AD on IIS 7.5. My Form has 3 boxes Domain Username and Password. 
When my application runs in ASP.Net 4.0 Integrated mode, System.Security.Principal.WindowsIdentity.GetCurrent().Name; shows domain as IIS_APPPOOL instead of AD Domain that the user belongs to.  and username is the name of Application Pool instead of the username of the currently logged on user.
If I set identity impersonate="true" in web.config, I get error:
HTTP Error 500.24 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. Module ConfigurationValidationModule Notification BeginRequest Handler AboMapperCustom-16221779 ...

Go to the complete details ...