Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Server.ScriptTimeOut
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Server.ScriptTimeOut

 Post Reply Post Reply
Author
fark View Drop Down
Newbie
Newbie


Joined: 04 November 2003
Location: United States
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote fark Quote  Post ReplyReply Direct Link To This Post Topic: Server.ScriptTimeOut
    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.

Back to Top
zaboss View Drop Down
Senior Member
Senior Member


Joined: 20 August 2002
Location: Romania
Status: Offline
Points: 454
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaboss Quote  Post ReplyReply Direct Link To This Post 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
Soft 4 web
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
fark View Drop Down
Newbie
Newbie


Joined: 04 November 2003
Location: United States
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote fark Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.