Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 254
Product
FileUpEE
Version
Beta 1
Title
Error: Server Application Unavailable under ASP.NET
Problem
As with any large upload, it is necessary to set the page's script timeout value. Under ASP.NET, you do so in-script with this line:
Page.Server.ScriptTimeout = [seconds];
However, despite setting the Page's ScriptTimeout, you may see this error in your browser when performing large uploads:
Server Application unavailable
If you look in the server's Application event log, you will see this corresponding message:
aspnet_wp.exe (PID: 242) was recycled because it was suspected to be in a deadlocked state. It did not send any responses for pending requests in the last 180 seconds.

Note: The PID is the unique Process ID for your server's instance of aspnet_wp.exe. On your server, it may not necessarily be "242".

Solution
ASP.NET has a configuration value within the Machine.Config and Web.Config files which automatically recycles the aspnet_wp.exe process if the runtime expects that it is deadlocked. If you are expecting to handle large, potentially time consuming uploads you will need to edit your Machine.Config or Web.Config files to accomodate for such requests.

You will find the "responseDeadlockInterval" attribute in the Config files's <processModel> element (it's an optional attribute, so if it's not there, you can safely add it).

Set this attribute to a HH:MM:SS time value, or to "Infinite" to disable deadlock checking. For example:

responseDeadlockInterval="01:10:00"
For more information about the <processModel> element, please see this URL:
MSDN's <processModel> Element Reference

Created : 12/1/2002 12:00:00 AM (last modified : 3/30/2004 11:45:49 AM)
Rate this article!
Comments