FIX: When You Call the Response.ClearHeaders Method in a Custom HTTPmodule, Extra Characters Are Appended to the Output (812686)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft ASP.NET (included with the .NET Framework 1.1)
SYMPTOMSWhen you call the Response.ClearHeaders method in a custom HTTPModule that is registered with PreSendRequestHeaders, extra characters are returned. This problem occurs only on the first request or the first time that you make this call after you compile the application.CAUSEFor the first request of a page, the compiler tries to do a batch compile and takes a different code path in the Response.Flush method. Later in the code, when you try to add chunkprefix and chunksuffix characters, they appear as extra characters in the output.RESOLUTIONHow to Obtain the HotfixThis issue is fixed in the June 2003 ASP.NET Hotfix Package 1.1. For additional information, click the following article number to view the article in the Microsoft Knowledge Base: 821156 INFO: ASP.NET 1.1 June 2003 Hotfix Rollup Package You cannot obtain this fix individually. You must
install the rollup. Note When you request this hotfix, you receive the rollup.
The English version of this hotfix has the file attributes (or later) 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
-----------------------------------------------------------------------
07-Jun-2003 00:44 1.1.4322.910 253,952 Aspnet_isapi.dll
07-Jun-2003 00:44 1.1.4322.910 20,480 Aspnet_regiis.exe
07-Jun-2003 00:44 1.1.4322.910 32,768 Aspnet_wp.exe
15-May-2003 23:49 33,522 Installpersistsqlstate.sql
15-May-2003 23:49 34,150 Installsqlstate.sql
07-Jun-2003 12:52 1.1.4322.910 1,216,512 System.dll
07-Jun-2003 00:39 14,472 Webuivalidation.js
07-Jun-2003 12:52 1.1.4322.910 1,249,280 System.Web.dll
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 9/27/2005 |
---|
Keywords: | kbHotfixServer kbQFE KbhttpModule kbNetFrame100preSP3fix kbfix kbQFE kbBug KB812686 kbAudDeveloper |
---|
|