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?

Re: ASP TimeOut limit by Ken

Ken
Sat Aug 23 00:54:49 CDT 2003

How do you know that the script ran for 10 seconds? (part of the time might
be IIS starting up for example). Also, check here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref/htm/ref_vbom_seropsct.asp?frame=true
(if part of the time is used by a server component, eg ADO object, then that
doesn't count towards the timeout value)

Cheers
Ken


"Nyat" <nfchin@hongleong.com.my> wrote in message
news:00c701c36937$ed8a56d0$a001280a@phx.gbl...
: 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?



RE: ASP TimeOut limit by timcof

timcof
Wed Sep 03 01:18:33 CDT 2003

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@hongleong.com.my>
| Sender: "Nyat" <nfchin@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?
|