Windows authentication fails locally but not remotely

Windows authentication fails locally but not remotely

am 22.03.2007 07:09:51 von Jon Davis

I cannot access a Windows-authenticated web site locally even though I can
access it remotely.

I have a simple web implementation that hosts an IIS / ASP.NET based web
site. I recently "upgraded" Windows XP 32-bit to Windows Vista 64-bit in a
fresh installation on a seperate hard drive. In IIS I just point a new web
site to the old hard drive that hosted the files.

This worked great, but tonight I decided to lock the site down for access
only by me. I access this computer on four computers (including from the
console). So I turned off Anonymous login and enabled ASP.NET Impersonation
and Windows Authentication. The web files are, of course, fully accessible
by administrators (myself).

Now my web site *can* be accessed from one of my other computers, a Vista
32-bit box. But it *cannot* be accessed locally on the machine hosting it; I
try to log in and authentication fails. Yes, I carefully entered the
password. ;) AFAIK I made no security setting changes in setting up Vista on
the two boxes, i.e. kerberos settings or whatever, I generally used default
installation settings so both the web hosting machine and the remote machine
are identical in configuration except IIS/ASP.NET and 32 vs. x64 bit.

Any ideas?

Jon

Re: Windows authentication fails locally but not remotely

am 25.03.2007 09:26:12 von David Wang

On Mar 21, 11:09 pm, "Jon Davis"
wrote:
> I cannot access a Windows-authenticated web site locally even though I can
> access it remotely.
>
> I have a simple web implementation that hosts an IIS / ASP.NET based web
> site. I recently "upgraded" Windows XP 32-bit to Windows Vista 64-bit in a
> fresh installation on a seperate hard drive. In IIS I just point a new web
> site to the old hard drive that hosted the files.
>
> This worked great, but tonight I decided to lock the site down for access
> only by me. I access this computer on four computers (including from the
> console). So I turned off Anonymous login and enabled ASP.NET Impersonation
> and Windows Authentication. The web files are, of course, fully accessible
> by administrators (myself).
>
> Now my web site *can* be accessed from one of my other computers, a Vista
> 32-bit box. But it *cannot* be accessed locally on the machine hosting it; I
> try to log in and authentication fails. Yes, I carefully entered the
> password. ;) AFAIK I made no security setting changes in setting up Vista on
> the two boxes, i.e. kerberos settings or whatever, I generally used default
> installation settings so both the web hosting machine and the remote machine
> are identical in configuration except IIS/ASP.NET and 32 vs. x64 bit.
>
> Any ideas?
>
> Jon


I suggest you report the IIS log entries for the failing requests to
see what is wrong.

Integrated Authentication is not supposed to pop up a dialog box on
the local machine, so you have some non-default configuration.
Possibly the non-default ACLs on the files of the old hard drive.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//