You are currently offline, waiting for your internet to reconnect

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

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.

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 for other considerations.

Article ID: 2321027 - Last Review: 08/11/2010 18:56:00 - Revision: 4.0

Microsoft Internet Information Services 6.0

  • KB2321027