Microsoft Knowledge Base Email Alertz

You may receive an HTTP Error 401.5 error message when you open an ASP page that is hosted on Internet Information Services 6.0

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 906474 - Last Review: December 3, 2007 - Revision: 2.2

You may receive an "HTTP Error 401.5" error message when you open an ASP page that is hosted on Internet Information Services 6.0

SYMPTOMS

When you browse to a Microsoft Active Server Pages (ASP) page that is hosted on a server that is running Microsoft Internet Information Services (IIS) 6.0, you may receive an error message that is similar to the following:
HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI application. Internet Information Services (IIS)
However, when you open a static Web page on the same Web site, you may receive an error message that is similar to the following:
HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the requested resource. Internet Information Services (IIS)

CAUSE

This is a different behavior than in IIS 5.0. By default, the Verify that file exists option is not enabled in IIS 5.0. By default, the Verify that file exists option is enabled in IIS 6.0.

This issue occurs if the following conditions are true:
  • The Verify that file exists check box is selected in the Add/Edit Application Extension Mapping dialog box for the ASP Web application extension in IIS Manager.
  • You do not have the correct NTFS file system permissions in the discretionary access control list (DACL) to open the file.

RESOLUTION

To resolve this issue, set the appropriate NTFS file system permissions on the ASP file. For more information about how to set NTFS file system permissions in IIS 6.0, click the following article number to view the article in the Microsoft Knowledge Base:
812614  (http://kbalertz.com/Feedback.aspx?kbNumber=812614/ ) Default permissions and user rights for IIS 6.0

MORE INFORMATION

You receive the HTTP 401.5 error message because the access denied error occurs when the ASP ISAPI extension is verifying that the ASP page exists.

APPLIES TO
  • Microsoft Internet Information Services 6.0
Keywords: 
kbtshoot kbprb KB906474
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate