Re: HTTP 401.2 - Unauthorized Accessing from Localhost ONLY

From: Ken Schaefer (
Date: 10/06/03

Date: Mon, 6 Oct 2003 12:37:13 +1000

I suspect that IE on your local computer thinks that your local machine is
in the "intranet" zone (or something), and is attempting to automatically
log you on. You could try disabling that in the IE Advanced settings.

Otherwise, enabling logon/logoff failure auditing on the WIndowsXP box, and
see what gets logged to the Event Log.


"Slezak" <> wrote in message
: Setting the stage:
: Windows XP Professional
: IIS Installed
: VS.NET Installed
: All the latest Critical Updates Installed
: Ok, I'm logged on to my computer with administrative access, but when
: I access any part of the web site set to Windows Integrated
: Authentication only, meaning I remove access to anonymous users, I get
: the error:
: HTTP 401.2 - Unauthorized: Logon failed due to server configuration
: Internet Information Services.
: But if I go to a remote computer and access the web page across the
: network, I am prompted for authentication and can successfully view
: the page inputting the right credentials. ??? WTF?
: How is it that IIS can't authenticate me as a locally logged on user,
: but it will for someone coming in across the network? This baffles me
: completely. (Subsequently, I cannot access any IIS online
: documentation because the pages require anonymous access to be turned
: off, yet I cannot access it through Windows Integrated
: Authentication.) ???
: All help GREATLY appreciated,
: Slezak