I have enabled windows authentication and disabled rest of the authentications on my IIS 7.5. In my web application web.config I have set
<authentication mode="Windows">
When I try to get logged in user as WindowsIdentity.GetCurrent().Name;
it's giving defaultappool as the user rather than the logged in windows user. This used to work correctly with IIS5.1 but not with IIS7.5. Is there anything else I should modify?