Hello All,
My forehead is bloody and I've reached the end of the internet so I thought I'd ask here....
I have a ASP.NET 4.0 application hosted by IIS7.5 with an app pool running in integrated mode.
Within my web.config I have the following:
<identity impersonate="true" />
<authentication mode="Windows" />
In IIS I have:
Authorization > WindowsAuthentication - Enabled
Authorization > Impersonation - Enabled
Everything is in Authorization is Disabled.
No matter what, WindowsIdentity.GetCurrent() always returns "iis apppool\[site name...]" and I can't figure out why I'm not getting the authenticated user's name?! The user get's prompted with the login and successfully gets authenticated FYI. It keeps acting like impersonation is "false".
For what it's worth I have a similar site on the same server that is a ASP.NET 2.0 Classic and it always returns t ...
Go to the complete details ...