Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

System.Web.HttpException: Request timed out

Anyone have any idea how to go about resolving this error? This is happening on my live server, but when i run the project local pc or different server there is no 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.HttpException: 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.]

like image 911
cpoDesign Avatar asked Aug 30 '11 09:08

cpoDesign


People also ask

What does your request has timed out mean?

The 408 Request Timeout error is an HTTP status code that means the request you sent to the website server—e.g., a request to load a web page—took longer than the website's server was prepared to wait. In other words, your connection with the website "timed out."


1 Answers

I don't know if there's any underlying problem, but to solve the timeout issue you can specify the request timeout (in seconds) in the web.config, like this:

<httpRuntime executionTimeout="300" /> 

For context, here's a complete web.config with just this setting:

<configuration>     <system.web>         <httpRuntime executionTimeout="300" />     </system.web> </configuration> 
like image 119
James Johnson Avatar answered Sep 19 '22 05:09

James Johnson