I have an Intranet site reading the windows user name and using it for authentication in the website.
My code works locally but does not read the login name when hosted using IIS 6 on Windows Server 2003 with anonymous access checked. If I un-check anonymous access then in Firefox I keep getting a pop up for username and password which never ends. In IIS 6 it is set to framework 4 and has its own application pool.
User.Identity.Name
-returns blank on the server but works fine locally
web.config:
<authentication mode="Windows"/>
<identity impersonate="true"/>
I have an older 3.5 webforms site that works fine on the same server..