FIX: You receive an exception error message when you specify a Content-Length HTTP header that is larger than 2 GB in ASP.NET 2.0 (913393)
The information in this article applies to:
- Microsoft .NET Framework 2.0
SYMPTOMSIn Microsoft ASP.NET 2.0, when you try to use the TransmitFile function to specify a Content-Length HTTP header that is larger than 2 gigabytes (GB), you receive the following exception error message: Value was either too large or too small for an Int32. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.OverflowException: Value was either too large or too small for an Int32. Additionally, you may experience a problem with application pool restarts under a heavy load. This problem can cause a decrease in performance on a server that is running Microsoft Internet Information Services (IIS) and an ASP.NET Web application. CAUSEThis problem occurs when ASP.NET 2.0 tries to parse the value of the Content-Length HTTP header as an Int32 data type. Therefore, if the value of the header is more than the maximum value of an Int32 data type, an overflow exception occurs. The maximum value of an Int32 data type is 2,147,483,647.RESOLUTIONA 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 2.0 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: 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. PrerequisitesYou must have the .NET Framework 2.0 installed on the computer to apply this hotfix. Restart requirementYou must restart the computer if any .NET Framework files are being used. Hotfix replacement informationThis hotfix replaces the hotfix that was described in Microsoft Knowledge Base article 911273. File information
The English version of this hotfix 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 item in Control Panel..NET Framework 2.0 for 32-bit systems |
Aspnet_wp.exe | 2.0.50727.62 | 23,040 | 21-Jan-2006 | 10:08 | x86 | System.web.dll | 2.0.50727.62 | 5,025,792 | 21-Jan-2006 | 10:08 | x86 | Webengine.dll | 2.0.50727.62 | 299,520 | 21-Jan-2006 | 10:08 | x86 |
.NET Framework 2.0 for 64-bit systems |
Aspnet_wp.exe | 2.0.50727.62 | 34,816 | 21-Jan-2006 | 02:41 | x64 | System.web.dll | 2.0.50727.62 | 4,960,256 | 21-Jan-2006 | 06:05 | x64 | Webengine.dll | 2.0.50727.62 | 540,160 | 21-Jan-2006 | 02:41 | x64 |
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
913297
FIX: Error message when you try to run a Web application that was built by using the .NET Framework 2.0: "Overwhelming changes have occurred"
Modification Type: | Minor | Last Reviewed: | 7/26/2006 |
---|
Keywords: | kbBug kbfix kbQFE kbhotfixserver kbpubtypekc KB913393 kbAudDeveloper kbAudITPRO |
---|
|