Microsoft KB Archive/913393

From BetaArchive Wiki

Article ID: 913393

Article Last Modified on 12/3/2007



APPLIES TO

  • Microsoft .NET Framework 2.0



SYMPTOMS

In 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.

CAUSE

This 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.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. But the hotfix is intended only to correct the problem that is described in this article. Apply this hotfix only 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, visit the following Microsoft Web site:

Prerequisites

You must have the .NET Framework 2.0 installed on the computer to apply this hotfix.

Restart requirement

You must restart the computer if any .NET Framework files are being used.

Hotfix replacement information

This 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
File name File version File size Date Time Platform
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
File name File version File size Date Time Platform
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


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more 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


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"


Keywords: kbbug kbfix kbqfe kbpubtypekc kbhotfixserver KB913393