473,508 Members | 2,008 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6429
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
1792
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
1324
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
1985
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
1587
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
1059
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
1431
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
2483
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
1438
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
7227
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
7054
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3204
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1564
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.