Microsoft Knowledge Base Email Alertz

(170044) - After you install Active Server Pages (ASP) and try to run one of the sample pages using Anonymous Authentication, you will get following error message: Requested Header Not Found is returned. NOTE: This error is a permission issue and can be returned...

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: 170044 - Last Review: June 23, 2005 - Revision: 2.1

ASP Fails with Requested Header Not Found Error Message

This article was previously published under Q170044
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/prodtech/IIS.mspx (http://www.microsoft.com/technet/security/prodtech/IIS.mspx)

SYMPTOMS

After you install Active Server Pages (ASP) and try to run one of the sample pages using Anonymous Authentication, you will get following error message:
Requested Header Not Found is returned.

NOTE: This error is a permission issue and can be returned under other circumstances. Any time a secured page or directory is accessed and the only authentication method enabled under Internet Service Manager is Anonymous, the above error message will be returned to the browser.

CAUSE

  1. Go to the WWW Service properties and disable Anonymous Access.
  2. Enable Basic Authentication only.
  3. Try to select one of the sample ASPs with the browser.
  4. When you are presented with the credentials dialogue box, log in using a valid administrator's account.
  5. If the page loads sucessfully, you have a permissions problem.

WORKAROUND

To correct this problem, grant your Anonymous User (IUSR_machine-name by default), the following permissions to the following directories:

NOTE: When you apply these permissions, only apply them to all existing files unless otherwise noted.
  1. Grant IUSR Read permission to the root directory of the drive that ASP is installed on.
  2. Grant IUSR Write permission to the Microsoft Windows NT Server directory.
  3. Grant IUSR Read permission to the System32 directory.
  4. Grant IUSR Read & Execute permission to the System directory.
  5. Grant IUSR Read & Execute permission to the Inetserv directory.
  6. Grant IUSR Read permission to the InetPub directory. (By default, the next two directories are located in Program Files, Common Files, System.)
  7. Grant IUSR Read permission to the OLE DB directory.
  8. Grant IUSR Read permission to the ADO directory.
After you apply the above permissions:
  1. Change the authentication method in Internet Services Manager to disallow Basic Authentication and enable Anonymous Access.
  2. Close and restart your browser in order to refresh its cache.
  3. Try to run a sample ASP with the browser.

APPLIES TO
  • Microsoft Internet Information Server 3.0
  • Microsoft Active Server Pages 1.0
Keywords: 
kberrmsg kbprb KB170044
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
       

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