Re: adding a new site results in iis error 401.1

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 02/18/05


Date: Fri, 18 Feb 2005 02:14:09 -0800

401.1 means that the username/password that you gave to IIS for
authentication was incorrect. If this happens when you have Anonymous access
enabled, it means that the username/password you configured in IIS for the
anonymous user is NOT the same as the NT user in the local SAM. Please
synchronize them and try again.

The reason you can get a 401.1 for anonymous access is this -- when you
select anonymous, what IIS does is authenticate as a configured user
identity for every single request and use that identity to access resources.
This allows you, for example, to ACL files to allow/deny the "anonymous"
user access even though you enabled anonymous access. However, if this
configured user identity has credentials that do not match reality, IIS
fails to authenticate as this user and as a result anonymous access fails.

In general, the other authentication methods are pretty fast, unless your
website/application intentionally causes re-authentication, at which point
you lose 2x-3x your website's bandwidth wasted on re-authentication. But,
that's a problem caused by your application.

Can you give:
1. Authentication types enabled.
2. IIS version
3. If IIS6, whether you are running in IIS6 native mode or IIS5
compatibility mode
4. If IIS6 in native mode, what is your Application Pool Identity

-- 
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"leth" <leth@discussions.microsoft.com> wrote in message
news:AAA04839-7835-415D-80E6-B16932A97959@microsoft.com...
hi there,
i used the wizard to add a new site which will be our intranet, after
following the wizard through, every time i try to access the site,  it tells
me
HTTP Error 401.1 - Unauthorized: Access is denied due to invalid
credentials.
Internet Information Services (IIS)"
i set this initially to allow annonmouse access, i checked all the
permissions and they seem to be right,
i tried using  basic windows authentication, which  did work but was very
very slow
can any one help me resolve this issue as i have tried everything i could
think of but this didnt seem to fix the problem.
i dont understand if i have the site and all relevent perm's set to allow
annonmouse access why its telling me that a credentials  issue is happening,
i googled this error and found a microsoft hotfix however  upon reading
about the (/)  being used to seperate domain name and user name  the  iis
user account had already been set up to allow that so it wasnt that.
can any one help me?
many thanks
ben


Relevant Pages

  • RE: LOGON_USER through https tunnel
    ... Have you disabled anonymous access? ... Go to IIS Manager, right click on the site and go to Directory Security. ... Click the Edit button in Authentication and access control, ... Subject: LOGON_USER through https tunnel ...
    (Security-Basics)
  • RE: Save IE password thorugh group policy
    ... You can configure IIS to Anonymous access or Digest ... Configure Authentication in IIS ... In the console tree, right-click the Web site, virtual directory, or ...
    (microsoft.public.windows.group_policy)
  • RE: Save IE password thorugh group policy
    ... that web site, this remote cookie will pickup the password so that the users ... You can configure IIS to Anonymous access or Digest ... Configure Authentication in IIS ...
    (microsoft.public.windows.group_policy)
  • Re: User Identity
    ... Authentication method is in the Properties dialog of your web site in the ... IIS snap-in. ... You need to disallow anonymous access, and use Windows ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cant make a domain user the "anonymous access" user
    ... I do not think this is an IIS issue. ... IIS just uses the username/password you set and call LogonUser with it -- ... domain user account is used for anonymous access, ...
    (microsoft.public.inetserver.iis.security)