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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changed the record limit and idle time on the server, but..

Status
Not open for further replies.

matpj

Technical User
Mar 28, 2001
687
GB
when the report finally returns the data I get:

"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."

with the report data overlayed on top of it, until I flick to the next page and then the text disappears..

has anyone else encountered this?

thanks,
Matt
 
First I have to always ask myself it it really should be running that long or if I have an error some place in my script.

Assuming it is all good, here is a line that I have used when my long-running CSP scripts time out on me:

<%
Server.ScriptTimeout = 1200 '20 minutes
%>

I don't normally have a need for something to run 20 minutes, but occasionally I do if it is doing lots of hard work. Hope that helps.
 
as I am new to this and have only done things so far via a browser.
where do I put that bit of script?

the report takes a while to run, as it uses the finance WIP table grouped by project, to find the most recent time booked against each project.
the parameter I have set is a cut-off date which filters the most recent time...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top