Microsoft KB Archive/927128

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:34, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Article ID: 927128

Article Last Modified on 12/7/2006



APPLIES TO

  • Microsoft ASP.NET 2.0




SUMMARY

A new overload for the TransmitFile method of the HttpResponse class is included in Microsoft ASP.NET 2.0. This new overload lets you specify an offset in the file. The new overload also lets you obtain the number of bytes to be sent.

The following shows the format of the new overload:

HttpResponse.TransmitFile(String Filename, long offset, long length)

Note

  • Filename is a placeholder for the name of the file to be written to the HTTP output.
  • Offset is a placeholder for the start position in the file.
  • Length is a placeholder for the total length to be transmitted.

If you specify 0 as the Offset parameter and -1 as the length parameter, the whole file is sent.

RESOLUTION

Hotfix information

A supported feature that modifies the product's default behavior is now available from Microsoft, but it is only intended to modify the behavior that this article describes. Apply it only to systems that specifically require it. This feature may receive additional testing. Therefore, if the system is not severely affected by the lack of this feature, we recommend that you wait for the next ASP.NET 2.0 service pack that contains this feature.

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

Prerequisites

You must have Microsoft ASP.NET 2.0 installed to apply this hotfix.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix replaces the following hotfixes:

911276 FIX: Error message when you try to go to an ASP.NET page by using a URL that contains Unicode characters: "HTTP error 400 'bad request'"


911300 FIX: Error message when you try to browse the root folder of a Web application that is built on the .NET Framework 2.0: "Object reference not set to an instance of an object"


913393 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


915782 FIX: You may receive an InvalidCastException error in an ASP.NET-connected Web application


918181 FIX: You receive a ThreadAbortException exception in an ASP.NET Web application that is based in the .NET Framework 2.0 when the Async page directive property is set to true


920283 FIX: An ASP.NET 2.0 Web application may not send content for a page that is updated when the Web server is running


920970 FIX: You may experience an unexpected AppDomain restart in an ASP.NET Web application that is based on the .NET Framework 2.0


922770 MS06-056: Vulnerability in ASP.NET 2.0 could allow for information disclosure


923707 FIX: Some characters in a text resource may not display correctly when you try to embed a text resource within a Web application that is built on the Microsoft .NET Framework 2.0


925248 FIX: Data in the POST request may be truncated to 49152 bytes in ASP.NET-connected application


925613 FIX: You receive an InvalidCastException error when you debug the dumps in the Windows SharePoint Services


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.

Microsoft .NET Framework 2.0, x86-based versions

File name File version File size Date Time
Aspnet_wp.exe 2.0.50727.232 29,968 20-Oct-2006 21:44
System.web.dll 2.0.50727.232 5,029,888 20-Oct-2006 21:44
Webengine.dll 2.0.50727.232 300,032 20-Oct-2006 21:44

Microsoft .NET Framework 2.0, x64-based versions

File name File version File size Date Time Platform
Aspnet_wp.exe 2.0.50727.232 41,744 20-Oct-2006 17:11 x64
System.web.dll 2.0.50727.232 4,968,448 20-Oct-2006 17:15 x64
Webengine.dll 2.0.50727.232 540,672 20-Oct-2006 13:52 x64
Aspnet_wp.exe 2.0.50727.232 29,968 20-Oct-2006 21:44 x86
System.web._dll 2.0.50727.232 5,029,888 20-Oct-2006 21:44 x86
Webengine.dll 2.0.50727.232 300,032 20-Oct-2006 21:44 x86

Microsoft .NET Framework 2.0, Itanium-based versions

File name File version File size Date Time Platform
Aspnet_wp.exe 2.0.50727.232 80,656 20-Oct-2006 18:03 IA-64
System.web.dll 2.0.50727.232 4,599,808 20-Oct-2006 18:03 IA-64
Webengine.dll 2.0.50727.232 869,376 20-Oct-2006 13:58 IA-64
Aspnet_wp.exe 2.0.50727.232 29,968 20-Oct-2006 21:44 x86
System.web.dll 2.0.50727.232 5,029,888 20-Oct-2006 21:44 x86
Webengine.dll 2.0.50727.232 300,032 20-Oct-2006 21:44 x86


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


Keywords: kbhotfixserver kbqfe kbpubtypekc KB927128