473,396 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 6423
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.