This is a migrated thread and some comments may be shown as answers.

Server Error in '/' Application. Request timed out.

2 Answers 127 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Patrik
Top achievements
Rank 1
Patrik asked on 14 Apr 2021, 09:57 AM

Hi,

 

We have a issue when generate a report in the report viewer with a timout, see below. I have tried to set multiple timout settings in IIS and Web.config but nothing helps. The strange thing is the query in the SQL database doesn't take more then a minute, so it seems like a connection issue between the application server and the database server. It is quite a lot of data, so maybe that is the issue?

 

 

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.]

2 Answers, 1 is accepted

Sort by
0
Patrik
Top achievements
Rank 1
answered on 14 Apr 2021, 09:58 AM
Forgot the screenshot that might be helpful
0
Todor
Telerik team
answered on 19 Apr 2021, 08:04 AM

Hello Patrik,

It seems you are trying to display a report with a large amount of data that is taking longer to execute than the maximum allowed timeout configured for server-code execution. To troubleshoot the issue you may go through the following threads:

You may try to extend the execution time per operation in the application:

<configuration>
  <system.web>
    <httpRuntime executionTimeout="600"/>
       .....
   </system.web>
    .......
</configuration>

For the above configuration, there is no maximum limit required by Telerik Reporting.

I strongly recommend also upgrading the Reporting and migrating to the Html5 Report Viewer.

Regards,
Todor
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Tags
General Discussions
Asked by
Patrik
Top achievements
Rank 1
Answers by
Patrik
Top achievements
Rank 1
Todor
Telerik team
Share this question
or