help.axcms.netAxinom Logo
Save Save Chapter Send Feedback

KB10005: Request timed out

Exception thrown by executing some time consuming operation


This exception is thrown, when executing some time consuming operation:

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.


The execution time exceeds the executionTimeout defined in web.config. MS SQL and IIS timeouts could be also the reasons. In case when the first step did not help, try other 2 also.


1. Try to increase the value of executionTimeout and maxRequestLength in the element httpRuntime in web.config (under <system.web>):

<httpRuntime executionTimeout ="10000" maxRequestLength="40000"/>

If the element httpRuntime does not exist in your config, you can add one. The value is specified in seconds. Default value is usually 110 seconds.

The relevant web.config is usually one in the application where you get the exception. During publishing you can get a publishing error if PublishService is throwing executionTimeout exception.

NB: this parameter is about the timeout thrown by ASP.NET. SQL Server and Database Connection might throw their own timeout exceptions.


2. Increase the MS SQL Server connection timeout


3. Increase the IIS Web Site timeout

APPLIES TO versions: All versions