Remember this about script timeout:
If you have script timeout set to 90 seconds in IIS, and 2 in your code, via Server.ScriptTimeout, then it will have a timeout period of
90 seconds. If you have script timeout set to 90 seconds in IIS, and 100 seconds in your code, then the 100 seconds will prevail.
If you have a simple script you are testing against, it probably had no problems running in 2 seconds; if you want to test it, create a db
connection pulling a large amount of data from a table.
Thank you. I hope this information is helpful.
Tim Coffey [MSFT]
This posting is provided “AS IS” with no warranties, and confers no rights. You assume all risk for your use. © 2001 Microsoft
Corporation. All rights reserved.
--------------------
| Content-Class: urn:content-classes:message
| From: "Nyat" <nfchin.DeleteThis@hongleong.com.my>
| Sender: "Nyat" <nfchin.DeleteThis@hongleong.com.my>
| Subject: ASP TimeOut limit
| Date: Fri, 22 Aug 2003 22:32:22 -0700
| Lines: 5
| Message-ID: <00c701c36937$ed8a56d0$a001280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNpN+2KW1LP5TlLRXOaQf9gmsrKQg==
| Newsgroups: microsoft.public.inetserver.iis
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.iis:272082
| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
| X-Tomcat-NG: microsoft.public.inetserver.iis
|
| Hi, I set ASP TimeOut in IIS Manager Properties to 2
| seconds and used Server.ScriptTimeOut to check that it is
| in fact =2, but the script that "ran" for about 10
| seconds. Why is that so? Are there any other settings that
| controls this or there is a minimum script runtime?
| >> Stay informed about: ASP TimeOut limit