Print Page | Close Window

Server.ScriptTimeOut

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=7043
Printed Date: 31 March 2026 at 4:32pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Server.ScriptTimeOut
Posted By: fark
Subject: Server.ScriptTimeOut
Date Posted: 06 November 2003 at 7:39am

I got this error message:

error 'ASP 0113'
Script timed out

/convertups.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.

 

I'm running personal web server on win 98 and need to know how to reset the ScriptTimeOut or reset it within my script.  Any Ideas?  Thanks.




Replies:
Posted By: zaboss
Date Posted: 06 November 2003 at 7:49am
Well, it's not the server, it's the script that requires actions. You should revisit it as it is something wrong. My bet is that you have a never ending loop or something.

-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web


Posted By: dpyers
Date Posted: 06 November 2003 at 7:48pm

At the top of your asp code, you can put

server.scripttimeout = xxx

where xxx = number of seconds before timing out.

zaboss is right though, probably a bad script to begin with. Only time I ever saw a valid need for it was when sending large mailing lists, or when walking a very large directory tree to set permissions.



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: fark
Date Posted: 07 November 2003 at 9:10am
The script was executing just fine (no infinite loops).  The problem is that it wasn't very efficient to it would take a long time to get everything done.  I found a lot more efficient way to program it so it doesn't time out anymore.  I'll file this away for future use though.  Thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net