Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

executionTimeout problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg - 28 Sep 2007 12:27 GMT
Hi all,

I have run into a problem that I cannot explain easilly. We run an ASP.NET
web application where sometimes needs to serve some long running operations.
These long running operations run in a multithreaded component installed in
COM+ that can take up to 7mins.

We have setup the web.config of the web app to drop requests that run more
than 3mins by setting the "executionTimeout" attribute the value of 180.

We would expect that if a user tries to request for an operation that will
take more than 3 mins to be dropped and request time error to appear.

What we see though is that the error appears at the end of the request. i.e.
if the operation takes 7mins the time out error will appear after 7mins. We
would expect to see the error after the 3 minutes which is the timeout we
set not at the end of the operation.

Has anybody experience something like that?

P.S.
The problem is easilly replicated if you create a test page and in the Load
event use the Thread.Sleep method with an appropriate duration to simulate
the long running operation.

Thanks in advance,
Greg.
Teemu Keiski - 29 Sep 2007 14:19 GMT
Hi,

do you have the application in release mode e.g you don't have debug enabled
in <compilation>?

-
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

> Hi all,
>
[quoted text clipped - 23 lines]
> Thanks in advance,
> Greg.
Greg - 29 Sep 2007 19:24 GMT
It is in release mode. The debug attribute is set to false in the
compilation element of the web.config

Many Thanks
Greg.

> Hi,
>
[quoted text clipped - 6 lines]
> http://blogs.aspadvice.com/joteke
> http://teemukeiski.net

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.