469,332 Members | 4,855 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,332 developers. It's quick & easy.

Script Timeout

When im opening my asp pages im getting this error

Script timed out <file>.asp, line <line> The maximum amount of time for a script to execute was exceeded [ASP 0113]
Dec 19 '07 #1
2 1496
164 Expert 100+
This error indicates that the script(s) you are running on that page are taking so long to execute that they are exceeding the maximum time IIS will let a script run.

You should probably consider revising your code and making edits in order to improve efficiency, but you can also increase the Timeout value with this code:

session.scripttimeout = #

Where # is a number that represents minutes.
Dec 19 '07 #2
3,406 Expert 2GB
It usually seems to me that script time-outs are caused by infinite loops. There are a few exceptions, like while looping through a really big database, but usually that's not the problem. Once I had a big error that made a loop fail to advance, and so it became an infinite loop. This is the type of problem I see all the time.

Dec 21 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Google Mike | last post: by
1 post views Thread by Paul White | last post: by
7 posts views Thread by Surajit Laha | last post: by
8 posts views Thread by michal | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.