Re: Basic Authentication fails with Error 401.2 where Integrated succe
- From: "Roger Abell [MVP]" <mvpNoSpam@xxxxxxx>
- Date: Wed, 24 Oct 2007 07:29:44 -0700
Have you looked into the security event log, assuming that it
is configured to record login failures?
You will probably see a unknown account or bad password
event message, indicating the account that the domain.
This last is probably not correct if the login attempt did not
use domain\account syntax in the login attempt, where domain
might need to be the local machine name of the webserver if
domain account is not in use.
"Jude Fisher" <JudeFisher@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6CF2177C-D68E-46CD-A95D-1FF4D51BC8C0@xxxxxxxxxxxxxxxx
Hi,
I'm a developer rather than a server tech and I've run into some problems
configuring a website.
An external provider we're using requires that a specific script be in a
directory that is protected by Basic Authentication. This isn't something
I've had to do before so I've been stumbling along following the KB
instructions. I've set up a test directory but I can't seem to get
authentication working properly. Here are the details:
I'm running IIS 6 on Windows Server 2003 with Asp.Net 1.1 and 2.0 both
installed.
The directory is configured with regular read priveleges, no scripts or
executables for the moment. The page inside the directory that I am using
for
testing is just a plain html page with one line of text in it.
The directory is configured in IIS with only Basic Authentication checked
(Anonymous access, digest and integrated access are all cleared) and the
domain and realm fields are empty.
I have a limted access account I want to use for this but for testing I've
also tried my administrator account, which has priveleges to the folder
and
also local log on priveleges for the machine. Problems are consistent
whichever account is used.
The error occurs whether I'm connecting remotely or (through remote
desktop)
via localhost, which should rule out any proxies.
The error returned is HTTP Error 401.2 - Unauthorized: Access is denied
due
to server configuration.
*IMPORTANT* (I'm hoping this points directly to the problem!) - If I check
the integrated authentication box in the IIS security configuration,
suddenly
the log in works. If I clear it so only basic is checked, it breaks again.
Thanks in advance for any assistance.
.
- Follow-Ups:
- Re: Basic Authentication fails with Error 401.2 where Integrated s
- From: Jude Fisher
- Re: Basic Authentication fails with Error 401.2 where Integrated s
- Prev by Date: Re: FTP directory security setup.
- Next by Date: Re: Basic Authentication fails with Error 401.2 where Integrated s
- Previous by thread: Re: ssl cert in IIS 6 works for Firefox, fails for IE 6 & 7
- Next by thread: Re: Basic Authentication fails with Error 401.2 where Integrated s
- Index(es):
Relevant Pages
|