Re: adding a new site results in iis error 401.1

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Kristofer Gafvert (kgafvert_at_NEWSilopia.com)
Date: 02/17/05


Date: Thu, 17 Feb 2005 06:27:10 -0800

Hi,

IIS uses the file system (that's where the files are stored), and if the
anonymous user is denied access (and the anonymous user is used), IIS will
of course not be able to serve the files. What you have done is set the
authentication method to allow anonymous authentication, but you have not
checked the actual NTFS permissions (at least you do not mention it).

So please use Windows Explorer to verify that the anonymous account
(typically IUSR_MachineName) has atleast read access to the files on the
file system.

-- 
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
leth wrote:
> 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: create the username/password authentication dialog problem
    ... it pops up the logon dialog box when I try 127.0.0.1, ... Disabling the anonymous user setting in IIS requires you to use either Basic ... In the NTFS permissions settings at the file system level, ...
    (microsoft.public.inetserver.iis)
  • Re: create the username/password authentication dialog problem
    ... it pops up the logon dialog box when I try 127.0.0.1, ... Disabling the anonymous user setting in IIS requires you to use either Basic ... In the NTFS permissions settings at the file system level, ...
    (microsoft.public.inetserver.iis.security)
  • Re: ASP.NET Impersonation Works, ASP Classic doesnt
    ... In IIS, made the changes to the web app to all anonymous and changed ... > the anonymous user to the above webuser from the AD, ... Changed connection string in ASP page to use the fully qualified UNC. ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS6 - How? Force Anonymous and impersonation
    ... Hi Tony, ... >>I'm not sure what settings you are talking about, but IIS ... >>will impersonate the authenticated user. ... >>is accessible only by the anonymous user or local ...
    (microsoft.public.inetserver.iis.security)
  • Re: create the username/password authentication dialog problem
    ... it pops up the logon dialog box when I try 127.0.0.1, ... Disabling the anonymous user setting in IIS requires you to use either Basic ... In the NTFS permissions settings at the file system level, ...
    (microsoft.public.inetserver.asp.general)