473,795 Members | 2,892 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

handling Request Timed Out

Some of my users are receiving an error:

Server Error in '/' Application.
----------------------------------------------------------------------------
----

Request timed out.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.Http Exception: Request timed out.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Request timed out.]
I have written code to handle both a Page_OnError and Application_OnE rror
for tracking purposes. I am trying to receive email notification when a
user receives this error. I have a generic error page that all unhandleable
errors are redirected to, but I log every error. I really want to know when
this error is occurring to my users. No notification are sent and my users
see the ugly server error screen.

What am I missing out on?

TIA,

bill
Nov 18 '05 #1
2 7866
to prevent infinite loops, every page request has a timeout (which you can
change in your web config, or on the local page - Server.ScriptTi meout). you
are hitting this timeout, and asp.net is killing the thread executing the
request (which is why the page doesn't catch the error).

-- bruce (sqlwork.com)
"William F. Robertson, Jr." <wf*********@kp mg.com> wrote in message
news:ua******** ******@TK2MSFTN GP11.phx.gbl...
Some of my users are receiving an error:

Server Error in '/' Application.
-------------------------------------------------------------------------- -- ----

Request timed out.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.Http Exception: Request timed out.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Request timed out.]
I have written code to handle both a Page_OnError and Application_OnE rror
for tracking purposes. I am trying to receive email notification when a
user receives this error. I have a generic error page that all unhandleable errors are redirected to, but I log every error. I really want to know when this error is occurring to my users. No notification are sent and my users see the ugly server error screen.

What am I missing out on?

TIA,

bill

Nov 18 '05 #2
There is nothing on the page that could be causing an infinite loop. The
Sql query that is running on that page could take a significant time. So I
understand why the Page_OnError isn't catching, but what about the
application_OnE rror in global.

I also tried wiring a static method to
System.AppDomai n.CurrentDomain .UnhandledExcep tion event in application
start, but that doesn't seem to help catch the error either.

bill

"bruce barker" <no***********@ safeco.com> wrote in message
news:eI******** ********@TK2MSF TNGP09.phx.gbl. ..
to prevent infinite loops, every page request has a timeout (which you can
change in your web config, or on the local page - Server.ScriptTi meout). you are hitting this timeout, and asp.net is killing the thread executing the
request (which is why the page doesn't catch the error).

-- bruce (sqlwork.com)
"William F. Robertson, Jr." <wf*********@kp mg.com> wrote in message
news:ua******** ******@TK2MSFTN GP11.phx.gbl...
Some of my users are receiving an error:

Server Error in '/' Application.


--------------------------------------------------------------------------
--
----

Request timed out.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.Http Exception: Request timed out.

Source Error:

An unhandled exception was generated during the execution of the current

web
request. Information regarding the origin and location of the exception

can
be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Request timed out.]
I have written code to handle both a Page_OnError and Application_OnE rror for tracking purposes. I am trying to receive email notification when a
user receives this error. I have a generic error page that all

unhandleable
errors are redirected to, but I log every error. I really want to know

when
this error is occurring to my users. No notification are sent and my

users
see the ugly server error screen.

What am I missing out on?

TIA,

bill


Nov 18 '05 #3

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

Similar topics

6
6399
by: nick4soup | last post by:
I have read the CGI FAQ 'How can I avoid users hitting "submit" twice' (on http://www.htmlhelp.org/faq/cgifaq.3.html#19 ) which essentially says you have to detect it at the server, using a hidden form field. That's fair enough. My server is therefore processing a response on the first request, so what kind of HTML response should I send out on the second, duplicate,
0
12441
by: Steve | last post by:
Hi All, I keep getting the "System.Web.HttpException: Request timed out." error message when I was uploading image files (about 400 image files) to SQL table, all those image files are FTP to web server first, then my aspx page reads those image files from web server then uploads to SQL table (SQL server is in same machine as Web server), I have done following: set SQL connection timeout to 6000 (in web.config file), set SQL command...
2
1110
by: Ivan Demkovitch | last post by:
Hi! I'm using webservice to display weather on my webpage. Sometimes this XML webservice times out (or just takes too long) and my webpage does not load (Request timed out) Regular error handling doesn't help here. I wonder what needs to be done to avoid this problems. I don't ming remove blocks of page if service fails, but I want rest displayed !
0
3837
by: Jack Wright | last post by:
Dear All, I have a web Application "http://localhost/Web/WebForm1.aspx" that calls a WebService from "http://localhost/webserviceapp/service1.asmx"...I have set the executionTimeout to 10 secs in Web.Config where my WebService is installed. <httpRuntime executionTimeout="10" appRequestQueueLimit="2" /> When I call a method "TestPlan" which takes more than 10 secs my web Page gets the following error:
6
1769
by: - Steve - | last post by:
I'm using Forms Based Authentication. I've written my code so that when a user does something but has timed out, it gracefully logs them out and asks them to log back on. I do this with . . Session.Abandon() Response.Redirect("logon.aspx")
2
1628
by: laks | last post by:
Hi all I have the following piece of code for retrieving some info from an external url. I receive an error - "The operation has timed-out" at GetResponse() line. I have tried extending the time out duration. I dont have any SETI etc on my computer. Anything wrong in code? how can i resolve my issue? Any insight highly appreciated.. thanks
5
17459
by: Pavils Jurjans | last post by:
Hello, Is there any way I can intercept the session timeout exception, and 1) Run some code routine, ie log the error and it's context 2) Show nicer output to the user Please do not suggest to increase the session timeout value, or write a code that doesn't loop. No fools here. There are possible contexts where I want to keep the session timeout reasonably low, but need to log the occasions, when it's hit, to rearchitecture those...
1
36708
by: SenthilPSL | last post by:
When I call a webservice on IIS on Windows 2000 Server with .NET runtime 2.0, I get the following Error. System.Net.WebException: The operation has timed out From ASPX Pages, I call the web service, which in turn calls dlls for executing the sotred procedure. SP runs for about 10 mins. (It has to; because the application demands running such big SP in synchronous mode). I have set the execution timeout to 1 hour both in website (for ASPX)...
1
1830
by: WestG | last post by:
I am not able to save, as it is giving the request timed out error in my application: When i click on Save button in my application it gives me request timed out error. Till now the finding is, it gives problem when trying to access text from rich text box. It starts eating CPU while accessing value from textbox. Type : System.Threading.ThreadAbortException, Message : Thread was being aborted. Source : System
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10164
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9042
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7540
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.