This topic is locked

Time Out Problem

2/28/2006 7:56:31 AM
ASPRunnerPro General questions
P
pvsmith author

Here is the error that I get when trying to run a Between two dates. What would I need to modify to make this run longer?
------------------------------------------
Active Server Pages error 'ASP 0113'
Script timed out
/WillKraus1/ALL_REGISTERED_VOTERS_list.asp
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.

Sergey Kornilov admin 2/28/2006

Try to put Server.ScriptTimeout = 300 in the beginning of list page.

P
pvsmith author 3/15/2006

I've added the line of code, and it still times out. I even changed the 300 to 3000, and it times out. Is there something else I can do to make it work. It works just fine to run the query when I test it locally--it just can't seem to bring the records back on the server.
I emailed my IP provider to see if there is some server timeout setting they can adjust, and they said all the timeout controls are with the application.
Appreciate your help.
Preston

Sergey Kornilov admin 3/16/2006

Preston,
please try to put

Server.ScriptTimeout = 300



after Call DefineScriptMessages in ..._list.asp file.