472,982 Members | 2,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,982 software developers and data experts.

Timeout explanation please?

Hi,

I've got a very basic asp.net page that accesses a very slow db query
and siplays to screen. I'm hitting a timeout aftre about 3.5 to 4.5
minutes - seems to be variable.

SQL connection string timeout is set to 3000s.
SQL Command timeout is set to 3000s.
IIS Connection Timeout is set to 120s.
ASP.NET script timeout is not set so must use default of 90s.

My question is why am I getting a timeout after 3.5 - 4.5 minutes. I
would have expected either to get a timeout after 90seconds if the
asp.net scripttimeout was kicking in, or after 2 minutes if the IIS
connection setting is the deciding factor?

Cheers,

James
Feb 7 '08 #1
2 6403
Hello JimLad,

what this app do and do u communicate with external stuff like webservices
or just your local service?
is problem solved when u restart iis? local services which u are talking
to, if any?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
JHi,
J>
JI've got a very basic asp.net page that accesses a very slow db query
Jand siplays to screen. I'm hitting a timeout aftre about 3.5 to 4.5
Jminutes - seems to be variable.
J>
JSQL connection string timeout is set to 3000s.
JSQL Command timeout is set to 3000s.
JIIS Connection Timeout is set to 120s.
JASP.NET script timeout is not set so must use default of 90s.
JMy question is why am I getting a timeout after 3.5 - 4.5 minutes. I
Jwould have expected either to get a timeout after 90seconds if the
Jasp.net scripttimeout was kicking in, or after 2 minutes if the IIS
Jconnection setting is the deciding factor?
J>
JCheers,
J>
JJames
J>
Feb 7 '08 #2
an iis connection timeout, is how long iis will wait after the last request
for the client to make another. an iis request timeout, is how long iis will
wait for request data to be transfered. an iis response timeout is how long
iis will keep the connection to send the response.

none of these have any effect on how long the server takes to process the
request.

a sqlconnection timeout is the max time allowed to connect to the sqlserver
and probably not relevent. the sqlcommand request timeout is how long to wait
for the request response, it real high so not relevent. if you are running
debug, then the asp.net timeout is disabled (it may also be set high).

at 4/5 minutes the browser can timeout, any proxy can timeout, etc. thats
way too long for a web request to run.

-- bruce (sqlwork.com)
"JimLad" wrote:
Hi,

I've got a very basic asp.net page that accesses a very slow db query
and siplays to screen. I'm hitting a timeout aftre about 3.5 to 4.5
minutes - seems to be variable.

SQL connection string timeout is set to 3000s.
SQL Command timeout is set to 3000s.
IIS Connection Timeout is set to 120s.
ASP.NET script timeout is not set so must use default of 90s.

My question is why am I getting a timeout after 3.5 - 4.5 minutes. I
would have expected either to get a timeout after 90seconds if the
asp.net scripttimeout was kicking in, or after 2 minutes if the IIS
connection setting is the deciding factor?

Cheers,

James
Feb 7 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jay | last post by:
PREDICATES Used as a clause. A. What does PREDICATES mean? B. What does it mean when used in a where clause? I checked BOL (Glossary) but get no explanation there. Thanks Jay
7
by: Michael G | last post by:
The following is from http://php.mirrors.ilisys.com.au/manual/en/security.database.sql-injection.php . Would someone explain the following lines, in particular I don't understand '$paramArr' nor...
3
by: Niloday | last post by:
Hi All, I have developed a web service and deployed it on the Win2000 box. I can access the web methods of this web service when my client application is debugged from VS.NET studio. But it...
2
by: funcSter | last post by:
I was asked to program using the Dutch Notation with C#. I am not familiar with the Dutch notation at all. I use the Hungarian. I asked a programmer friend "What is the Dutch Notation?" He...
0
by: DBC User | last post by:
Hi, I have a web client code written in C# and I am using web services using the proxy created by VS2005. Only timeout I am using this case is the SOAP envelop timeout. When I run the code it is...
8
by: jaymz79 | last post by:
My program goes thru about 15.000 lines of MySQL data and each line has about 15 variable (survey results). Let's say I am calculating the scores and using 25 formulas for each line... the PHP...
25
by: Erik Lind | last post by:
I'm new to Python, and OOP. I've read most of Mark Lutz's book and more online and can write simple modules, but I still don't get when __init__ needs to be used as opposed to creating a class...
2
by: bibiki | last post by:
while($row = mysql_fetch_object($result)) { ?> <li><font size="-1"><b> <a href="story.php?id=<? echo $row->id; ?>"><? echo $row->slug; ?></a> </b></font> <br> <font...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.