Article ID: 821387 - Last Review: October 25, 2005 - Revision: 4.6 FIX: The Aspnet_wp.exe process may stop responding when you use the Response.BinaryWrite method to download large files from an ASP.NET page For a Microsoft .NET Framework 1.1 version of this
article, see
823409
(http://support.microsoft.com/kb/823409/
)
. SYMPTOMS When you use the Response.BinaryWrite method to download files that are 400 MB or larger from an
ASP.NET page, the Aspnet_wp.exe process may stop responding (crash). You may
see the following event logged in the application log of the Event Viewer:
CAUSEIn this scenario, the following things occur:
Note If you perform simultaneous downloads, you may compound the problem. 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 .NET Framework 1.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: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
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.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 -------------------------------------------------------------- 28-May-2003 00:47 1.0.3705.429 200,704 Aspnet_isapi.dll 28-May-2003 00:42 4,169 Aspnet_perf.h 28-May-2003 00:47 513,302 Aspnet_perf.ini 28-May-2003 00:47 510,714 Aspnet_perf2.ini 28-May-2003 00:47 1.0.3705.429 28,672 Aspnet_rc.dll 28-May-2003 00:47 1.0.3705.429 24,576 Aspnet_regiis.exe 28-May-2003 00:47 1.0.3705.429 28,672 Aspnet_wp.exe 27-May-2003 23:55 1.0.3705.429 69,632 Corperfmonext.dll 27-May-2003 23:53 1.0.3705.429 303,104 Mscorjit.dll 28-May-2003 11:59 1.0.3705.429 1,953,792 Mscorlib.dll 27-May-2003 23:46 10,284 Mscorlib.ldo 27-May-2003 23:54 1.0.3705.429 2,269,184 Mscorsvr.dll 27-May-2003 23:53 1.0.3705.429 2,269,184 Mscorwks.dll 01-Aug-2002 21:38 15 Smartnav.htm 17-Oct-2002 17:55 8,728 Smartnav.js 28-May-2003 12:01 1.0.3705.429 1,196,032 System.Web.dll STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section. MORE INFORMATIONThis hotfix adds another function to the Response object (Response.TransmitFile). You can use the function instead of the BinaryWrite function or instead of other functions that are used to send
files to the client. Also, you can use this function regardless of the size of
the file that you want to transmit. To test this new functionality, paste the
following code in an empty ASPX page after you download and install the hotfix.
You must change the "c:\\repro\\z.zip" line in the code to reflect a path and
ZIP file that exist on a computer. APPLIES TO
| Article Translations
|
Back to the top
