By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,713 Members | 1,243 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,713 IT Pros & Developers. It's quick & easy.

Timeout explanation please?

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.