Microsoft Knowledge Base Email Alertz

Custom HTTP headers are inherited from a website after running aspnet_regiis.exe on Internet Information Services (IIS) 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: 2321027 - Last Review: August 11, 2010 - Revision: 4.0

Custom HTTP headers are inherited from a website after running aspnet_regiis.exe on Internet Information Services (IIS) 6.0

SUMMARY

Consider the following scenario. You have custom HTTP headers configured for your IIS 6.0 Web site. By default, these custom headers get inherited to the applications or virtual directories underneath this web site. However, you have specifically removed these headers from the application or virtual directory levels. You run aspnet_regiis.exe with the install (-i), uninstall (-u) or repair (-iru) switches. During the aspnet_regiis.exe routine, your custom HTTP headers will be added back to the applications or virtual directories in question. These newly added headers are essentially the headers that are present at the parent web site level.


MORE INFORMATION

This behavior only occurs on Windows Server 2003 running IIS 6.0. Simply remove the unwanted headers from the application or virtual directory configuration if they re-appear after running aspnet_regiis.exe. 


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use (http://go.microsoft.com/fwlink/?LinkId=151500) for other considerations.

APPLIES TO
  • Microsoft Internet Information Services 6.0
Keywords: 
KB2321027
       

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