Microsoft KB Archive/835260

= FIX: The Cache-Control header cannot be removed from the Response header in the .NET Framework 1.1 =

Article ID: 835260

Article Last Modified on 10/7/2005

-

APPLIES TO


 * Microsoft .NET Framework 1.1

-





SYMPTOMS
Sometimes, you may want to control and to reduce the Response header size in the Microsoft .NET Framework 1.1. To add more control of the response data size, code was added to let you remove the Cache-Control header from the Response header.



Software update information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft .NET Framework 1.1 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart your computer after you apply this software update.

Software update replacement information
This software update does not replace any other software updates.

Machine.config file information
You must modify the Machine.config file after you install this software update. To do this, follow these steps:
 * 1) Install this software update.
 * 2) Click Start, click Run, type explorer, and then click OK.
 * 3) Locate and then open the Machine.config file.

Note By default, the Machine.config file is the %SystemRoot%\Microsoft.NET\Framework\v1.1.4322\CONFIG folder.
 * 1) In the httpRuntime section, make the following changes:
 * 2) * enableVersionHeader = &quot;true&quot;
 * 3) * sendCacheControlHeader = &quot;false&quot;
 * 4) Close the Machine.config file.
 * 5) Click Start, click Run, type command, and then click OK.
 * 6) In the Command.com window, type start inetmgr, and then press ENTER.
 * 7) In the Internet Information Services dialog box, right-click Web Sites, and then click Properties.
 * 8) In the Web Sites Properties dialog box, click the HTTP Headers tab, click X-Powered-By: ASP.NET, and then click Remove.
 * 9) Click OK.
 * 10) In the Internet Information Services dialog box, click Exit on the File menu.

File information
The English version of this software update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version       Size       File name --  23-Aug-2002  10:56  1.0.3705.352    196,608  Aspnet_isapi.dll 23-Aug-2002 10:50                   19,206  Aspnet_perf2_ini 23-Aug-2002 10:50                   19,332  Aspnet_perf_ini 23-Aug-2002 10:56  1.0.3705.352     24,576  Aspnet_regiis.exe 23-Aug-2002 10:56  1.0.3705.352     28,672  Aspnet_wp.exe 21-Mar-2002 03:31                    7,003  Smartnavie5.js   23-Aug-2002  09:23                       15  Smartnav.htm 23-Aug-2002 09:23                    8,800  Smartnav.js   24-Aug-2002  00:31  1.0.3705.352  1,187,840  System.web.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: CacheControl

Keywords: kbbug kbfix kbqfe kbnetframe110presp1fix KB835260

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.