473,385 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

User cancels manual file download and aspnet_wp.exe recycles

Hi all

I have an ASP.net website that uses an aspx page locate and stream a file to an authenticated user and I'm getting the error
Aspnet_wp.exe (PID:XXXX) stopped unexpectedly

which the user sees as the Server Unavailable page

I am aware of problems using Response.BinaryWrite or Response.WriteFile to download large files and so opted for the chunked method described in the KB article 812406

The problem is that when a user cancels the download, the website stops responding. If the user then attempts to start a new download, either nothing happens or they get a Server Unavailable and my ASPnet_wp.exe gets recycled

If I step though the code and watch the file streaming out, then cancel the download before it completes, the loop continues for a while then stops. Hitting break and trying to check the values of the context, request or response objects gives me "error: cannot obtain value"

My attempts at using BinaryWrite and WriteFile met with similar problems. I have seen reference to a hotfix that adds a Response.TransferFile method but I'm not sure if this is caused by the same problem (aspnet running out of memory space), even though the symptoms are the same (recycled aspnet_wp.exe

Has anyone had similar problems? if so, will the hotfix correct it

I have found a few other posts on this problem around the net (mostly dated 1-2 years ago) but not a single response

please help
Nov 18 '05 #1
0 1359

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: warlord | last post by:
I have recently converted a site to using the ASP.NET StateServer, and in order to ensure that my changes were successful I made sure I had data in session, and set the idleTimeout value in the...
3
by: Grinninger | last post by:
Hello, I am using ASP.NET, C# under W2K. I try to keep some important information in application- and session-state Objects. With the recycling of the ASPNet_WP.EXE my application- and...
2
by: Bruce Whitehouse | last post by:
I need to be able to run the aspnet_wp.exe process under a domain user, rather than the ASPNET user. I've tried changing the impersonation settings in the web.config and machine.config files,...
4
by: José Miguel del Río Martínez | last post by:
Hi, we are experiencing event ID 1001 (aspnet_wp.exe recycled due to memory consumption) in our website. The aspnet_wp.exe consumes up to 613 Mb (60% of RAM) and then recycles itself. According...
3
by: Jim | last post by:
Hi, I have an assembly and it's satellite in my GAC. I have referenced the DLLs in my project (from the same location where I added it to the GAC). CopyLocal is set false. When I run the...
2
by: Sidharth | last post by:
Hello, We are experiencing some issues with the aspnet_wp process on our live servers. The problems are intermittent and we cannot reproduce it on our dev and test servers. Currently around...
0
by: daniele.balducci | last post by:
Hi All, I'm experiencing troubles in a simple .net web application. The applicatione is made up by a single form looping to move some files to a different folder . the main loop is as follows...
0
by: Hari potter | last post by:
Hi all, I have an asp.net website that references some dlls. The web site has been configured to use anonymous access(with windows credential user name and password) and also Windows...
2
by: cmilhench | last post by:
Hi We have a problem with memory consumption of my aspnet_wp.exe worker process. The proccess consumes more and more memory until eventualy we start getting out of memory Exceptions. Configuring...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.