ASP "Script Time Out" Error
i am having windows xp sp3.When i attempt to run an Active Server Pages (ASP) page, i received the following er ror message:
Error Type:
Quote:
Active Server Pages, ASP 0113 (0x80004005) 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.
Re: ASP "Script Time Out" Error
To set the Script Timeout
By ASP Script:
Use the Server.ScriptTimeout property within your ASP script. For example:
<% Server.ScriptTimeout = 3600 %>
With IIS3:
Edit the Registry using REGEDT32. (From the Start menu, choose Run. Type REGEDT32 and click OK.) Modify the ScriptTimeout value:
HKEY_LOCAL_MACHINE\
SYSTEM\
CurrentControlSet\
Services\
W3SVC\
ASP\
Parameters\
ScriptTimeout
Double-click the ScriptTimeout value, and set the Radix to decimal. You can now enter an appropriate value in seconds. For example, 3600 seconds is equivalent to one hour.
Re: ASP "Script Time Out" Error
Re: ASP "Script Time Out" Error
When you set the ASP script
timeout, you specify, in seconds, the default length of time that ASP pages allow a script to run before terminating the script and writing an event to the Microsoft Windows® Event Log. The minimum value for this property is one second and the default value is 90 seconds. The corresponding metabase property is AspScriptTimeout Metabase Property.
Important You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".
To change ASP script timeout
1.In IIS Manager, double-click the local computer, right-click the starting-point directory of the application you want to configure, and then click Properties.
2.Click the Directory tab, and then click Configuration.
3.Click the Options tab.
4.In the Application configuration section, in the ASP script timeout box, click the up or down arrow to set the number of seconds before an error message is returned.
5.Click OK.