« Previous Next »

Thread: 401 Error for all pages/directories

Last post 09-28-2009 1:33 PM by rtcpenguin. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 09-25-2009, 9:48 AM

    401 Error for all pages/directories

    I get the following error for all files on the server: "Server Error 401 - Unauthorized: Access is denied due to invalid credentials. You do not have permission to view this directory or page using the credentials that you supplied." I've checked the permissions on the wwwroot folder and the IUSR_machine account has read & execute permissions. This problem seemed to crop up at the same time I installed ColdFusion, but I can't even access a simple html file, so I don't think ColdFusion is messing it up.
  • 09-25-2009, 12:58 PM In reply to

    • BCurry
    • Top 500 Contributor
    • Joined on 01-11-2007, 11:32 PM
    • Posts 25

    Re: 401 Error for all pages/directories

    From IIS 6 to IIS 7 the default identity account changed from IUSR_MachineName to IUSR. Check permissions on the latter if you're running IIS 7.

     For more info, see http://learn.iis.net/page.aspx/140/understanding-the-built-in-user-and-group-accounts-in-iis-70/.

    Benjamin Curry
  • 09-25-2009, 12:59 PM In reply to

    Re: 401 Error for all pages/directories

    Hello,

    Check out the following article which details the troubleshooting steps for each 401.x error:

    Troubleshooting HTTP 401 errors in IIS

    http://support.microsoft.com/kb/907273

    Since you installed Coldfusion, I would check the Web Service Extension settings to ensure everything is Allowed that should be, and that your Handler Mappings are configured correctly in your site's properties, as ColdFusion tends to try to take over all handler mappings with a wildcard entry.

    Hope this helps!

    Brock Hensley
    Technical Support Representative
    http://www.ServerIntellect.com

    Managed Servers, 24x7 U.S. Support, Web Hosting Solutions.
  • 09-28-2009, 11:19 AM In reply to

    Re: 401 Error for all pages/directories

    IUSR and IUSR_machinename (Internet Guest account) both have read and execute permissions for my web root folder. The handler mappings have been switched to COldfusion mappings, there is an entry thats just * that I guess is forwarding everything to one of the ColdFusion dlls.
  • 09-28-2009, 1:33 PM In reply to

    Re: 401 Error for all pages/directories

    I fixed the issue by installing ColdFUsion on the same drive as the site's webroot. Hopefully this helps anyone else experiencing this issue.
Page 1 of 1 (5 items)
Microsoft Communities