B
BRG
I'm having an issue getting Windows authentication to work on a couple
of machines. The problem is that if I connect to a Windows
authentication protected web page served by my local Windows XP
machine, I get an HTTP 401.1 (Logon Failed) error. No Windows logon
dialog appears at any time. Despite auditing for any security failures,
nothing shows up in my security event log. For all other purposes,
ASP.NET works fine.
If I take my project (simple ASPX page + web.config) and copy it to
another machine, it works great. My ASPX page prints out Context.User
info, and "MACHINENAME\Administrator" appears.
I am experiencing this issue on two Windows XP machines. On most other
machines, Windows authentication works. Can anyone think of any
machine-specific settings that would cause Windows authentication to
fail?
I'm just about at my wits end. Thanks in advance for any help you can
provide.
Settings:
IIS: Integrated Windows Authentication enabled, all others (including
anonymous) disabled
Windows: Windows XP SP2, .NET 1.1 SP1, Guest account disabled
web.config:
<configuration>
<system.web>
<authentication mode="Windows" />
<identity impersonate="true"/>
<authorization>
<allow roles="BUILTIN\Administrators"/>
<deny users="*"/>
</authorization>
... other default web.config settings ...
</system.web>
</configuration>
of machines. The problem is that if I connect to a Windows
authentication protected web page served by my local Windows XP
machine, I get an HTTP 401.1 (Logon Failed) error. No Windows logon
dialog appears at any time. Despite auditing for any security failures,
nothing shows up in my security event log. For all other purposes,
ASP.NET works fine.
If I take my project (simple ASPX page + web.config) and copy it to
another machine, it works great. My ASPX page prints out Context.User
info, and "MACHINENAME\Administrator" appears.
I am experiencing this issue on two Windows XP machines. On most other
machines, Windows authentication works. Can anyone think of any
machine-specific settings that would cause Windows authentication to
fail?
I'm just about at my wits end. Thanks in advance for any help you can
provide.
Settings:
IIS: Integrated Windows Authentication enabled, all others (including
anonymous) disabled
Windows: Windows XP SP2, .NET 1.1 SP1, Guest account disabled
web.config:
<configuration>
<system.web>
<authentication mode="Windows" />
<identity impersonate="true"/>
<authorization>
<allow roles="BUILTIN\Administrators"/>
<deny users="*"/>
</authorization>
... other default web.config settings ...
</system.web>
</configuration>