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.
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.
Hotfix information
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:
Note The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, 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
Collapse this tableExpand this table
| 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
Collapse this tableExpand this table
| 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 |
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684Â
(http://kbalertz.com/Feedback.aspx?kbNumber=824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
913297Â
(http://kbalertz.com/Feedback.aspx?kbNumber=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"