Maximum Execution time by Server.ScriptTimeout
Script execution time of any page can be set by using Server.ScriptTimeout value. This value by default is set to 90 seconds. We can read this maximum script execution time by this.
We can change the above value like this.
By keeping this value at a lower level we can create some delays by writing some for loops.
This way we will create some delays and once it exceeds the ScriptTimeout value then we will get this error message.
For i=1 to 100000000
Response.Write "<br>Done ...<br>"
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.
This article is written by plus2net.com team.
Be the first to post comment on this article :