executiontimeout

Configuring httpRuntime execution timeout for large downloads

At my place of work, we have an ASP.NET page that uses the following code to perform a file download. We use this rather than Request.TransmitFile() because the file is coming directly from a zip archive. private void DownloadStream(Stream stream) { int bytesRead; int chunkSize = 1048576; //1MB byte[] re...

Maximum Amount of Time A Thread Can Run?

I have a web service that creates a thread to process some data in the background. I've seen a "System.Threading.ThreadAbortException: Thread was being aborted" message in one of my logs where the thread was killed. I am currently under the assumption that the thread will run as long as it takes to execute the tasks that it's working o...

When is <Compilation> used in ASP.net

I'm having some trouble setting the ExecutionTimeout element in my applications web.config. My page is making a lengthy webservice call and times out after 110 seconds. (the default I believe). I set the value to 220, and make sure the compilation debug=false. Does the compilation setting refer to when IIS/ASP.net compiles the ASPX ...