Friday, March 23, 2012

Odd Timeout

Hi everyone,

I'm getting a weird timeout issue. We have a procedure that can take anywhere from 20 sec - 1:30 to execute. I have coded the connection string to time out after 10 minutes and I coded the command object to timeout at 10 minutes. But for some reason this app still times out at 30 seconds.

Is there some other area I need to look at to make sure this timeout doesn't occur? This is an old app that I inherited. It is done in .net 1.1 and SQL 2000. Any thoughts would be great.

Hi,

It seems you should try to change the executionTimeout parameter in the httpRuntime tag inmachine.config, i.e.

<httpRuntime executionTimeout="90" ... />

More information to see,http://msdn.microsoft.com/library/chs/default.asp?url=/library/CHS/cpgenref/html/gngrfhttpruntimesection.asp

Thanks.

No comments:

Post a Comment