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

Webforms ReportViewer Timeouts with EntityDataSource

1 Answer 127 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dave Whiting
Top achievements
Rank 1
Dave Whiting asked on 10 Jan 2012, 01:16 PM
I currently have a couple of long running SQL Stored Procedures that are being pulled into a report with an EntityDataSource. They take around 1 minute to complete. 

I have an issue in that the Webforms ReportViewer will timeout after around 30 seconds.  I can't seem to find where I can increase the timeout period.
 
Is it possible to extend the timeout period of the ReportViewer?

1 Answer, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 13 Jan 2012, 11:16 AM
Hi Mark,

You can increase the command timeout of the Entity Data Model like this (the timeout is in seconds):
AdventureWorks.CommandTimeout = 120;

Our EntityDataSource just uses the Entity Data Model which your application provides and unlike SqlDataSource does not expose CommandTimeout property.

For more information about ObjectContext properties you can check this MSDN help article.

All the best,
IvanY
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
General Discussions
Asked by
Dave Whiting
Top achievements
Rank 1
Answers by
IvanY
Telerik team
Share this question
or