Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scripttimeout

Status
Not open for further replies.

ncwei

Programmer
Aug 20, 2001
6
MY
The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.

how to solve it????
tq!!!!
 
To change it in IIS you can go to the web site causing the error, right click, go to properties. On the directory tab click the configuration button in the application settings. On the App Options tab put in a new value for script timeout.

OR....

You can add the following line to your global.asa.


Session_OnStart
'set the value of the ScriptTimeout in seconds
Server.ScriptTimeout = 600
End Sub


That is all there is to it....Hope this helps. :)
 
You can also set that variable on the individual page that takes too long to process. Instead of putting it in your Global.asa (all pages in your session), simply make it the first line of your ASP code on that individual page.

I only have it on ONE page (the search one) of my web structure. TTFN :eek:) =====================
Dennis B
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top