I'm running an ASP.NET web application on a Windows 2003 box. For some reason, the application does not run under the ASPNET user context. In the Event Viewer, I see:
Logon attempt using explicit credentials:
User Name: NETWORK SERVICE
Domain: NT AUTHORITY
User whose credentials were used:
Target User Name: IUSR_MACHINENAME
Target Domain: MACHINENAME
In my web.config file, I've tried both <identity impersonate="false" /> and leaving it out, and it makes no difference.
I created a test application to write the value of System.Environment.UserName to the screen, and it displays NETWORK SERVICE as the username.
I've disabled Anonymous Access in IIS and have checked the Integrated Windows Authentication box. In the web.config file, I have <authentication mode="Windows" />.
What am I missing??
Logon attempt using explicit credentials:
User Name: NETWORK SERVICE
Domain: NT AUTHORITY
User whose credentials were used:
Target User Name: IUSR_MACHINENAME
Target Domain: MACHINENAME
In my web.config file, I've tried both <identity impersonate="false" /> and leaving it out, and it makes no difference.
I created a test application to write the value of System.Environment.UserName to the screen, and it displays NETWORK SERVICE as the username.
I've disabled Anonymous Access in IIS and have checked the Integrated Windows Authentication box. In the web.config file, I have <authentication mode="Windows" />.
What am I missing??