473,320 Members | 1,900 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,320 software developers and data experts.

Unable to timeout a long running request

If i have an ASPX page that is just sleeping for 3 minutes ormore and later
does some processing and the ExecutionTimeout parameter in the machine.config
is 90 seconds then the page does not timeout after 90 seconds.
Even if set the ExecutionTimeout in the web.config or the
Server.ScriptTimeout is set in the aspx.cs still the page does not timeout
after the timeout period.
Can someone please tell us as to how we can timeout an aspx page that is
doing some lengthy processing? Also when exactly does the ExecutionTimeout
take effect?
Nov 19 '05 #1
4 2045
Do you have debug=false in your web.config file? Or is aspnet_wp.exe
recycling before the 90 secs.

Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only

This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"

Nov 19 '05 #2
No. The debug attribut in web.config is set to true.
I don't think the aspnet_wp.exe is recycling after 90 secs either.
So then what else could be the reason as to why the request is not timing out?

"Andy Mortimer [MS]" wrote:
Do you have debug=false in your web.config file? Or is aspnet_wp.exe
recycling before the 90 secs.

Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only

This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"

Nov 19 '05 #3
Try it with debug set to false. The executionTimeout property only works
when the debug is set to false in the
web.config.

The timeout value is set to a large value(30000) to prevent getting
timedout during
debugging. So, this will work only when the debugging is set to false.

Nov 19 '05 #4

Thanx a lot everyone.
Well Execution Timeout is workin now.
I struggled a lot with this problem. Since I found this.
Note: Timeout values are specified in milliseconds. If you have
debug="false" in the Web.config file, the executionTimeout value will be
ignored.
at
"http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenetchapt17.asp"
"Andy Mortimer [MS]" wrote:
Try it with debug set to false. The executionTimeout property only works
when the debug is set to false in the
web.config.

The timeout value is set to a large value(30000) to prevent getting
timedout during
debugging. So, this will work only when the debugging is set to false.

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Gary Homewood | last post by:
I have an ASP page calling a stored procedure. I have set the connection and command timeouts and I have error checking so I can trap a timeout from the stored proc (as detailed here)...
22
by: Kristof Thys | last post by:
Hello, I'm developing a C# - windows forms application. To get some information for my application, I'm connecting to an URL, wich gives me XML generated using php. With 90% of the users, this...
2
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET ...
8
by: Shalini | last post by:
If I have an ASPX page that is just sleeping for 3 minutes ormore and later does some processing and the ExecutionTimeout parameter in the machine.config is 90 seconds then the page does not...
10
by: greenb | last post by:
Our asp.net web app uses a .NET component (DLL) in the bin directory to call several stored procedures back to back to perform updates. They don't return any data. Sometimes the total execution...
0
by: Maciek | last post by:
Hi When I set Session state mode to StateServer (IIS 6.0; windows2003; .NET 2.0) in my application, I have recived this message:...
1
by: Greg Allen | last post by:
I have a timeout issue with a long running web service, and I can't figure out where the timeout value is coming from. In the client I end up getting the following exception: The underlying...
1
by: tudor | last post by:
I have a web service that I use to kick off a long-running job that dumps a lot of data to an XML file (takes about 5 minutes). I need to have ASP.NET produce the XML file as the web site has the...
2
by: JimLad | last post by:
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.