IIS 7 and Above
script time out
Last post Mar 27, 2012 08:58 AM by Dalong Zhang - MSFT
Mar 26, 2012 08:58 AM|-_-|LINK
why i select 1 record,it causes the followinng error on asp +vbscript
Active Server Pageserror 'ASP 0113'
Script timed out
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.
Mar 26, 2012 09:09 AM|fab777|LINK
the default Script Timeout setting for ASP pages is 90 seconds. To change this for a particular ASP page, type the following code at the top of the page:
Server.ScriptTimeout = xxx
Where xxx is the timeout value in seconds.
Or you can change the default setting at site level: [url=http://technet.microsoft.com/en-us/library/bb632464.aspx]http://technet.microsoft.com/en-us/library/bb632464.aspx[/url]
Mar 26, 2012 09:30 AM|-_-|LINK
Mar 27, 2012 08:58 AM|Dalong Zhang - MSFT|LINK
You can stop ASP script execution by using Response.End object. Please refer to the following example of response end:
<%@ Language=VBScript %>
<% Option Explicit
Response.Buffer = false %>
Response.Write("Message No :1 Before Flush <br>")
Response.Write("Message No :2 After Flush <br>")
Response.Write("Message No :3 After End, This line will not be executed <br>")