Discussion:
Report Timeout Settings
(too old to reply)
Jack Bender
2010-08-04 20:48:03 UTC
Permalink
We have a beast of a report that actually check the system for duplicates and
based on the criteria selected within a parameter, it can take up to 6
minutes to run. From Visual Studio, the report generates after 6 minutes,
but from within CRM, it seems that once the report generation hits the 5
minute mark, it errors out and we get the following error in the report
viewer…

Error

An error has occurred

Does anyone know of a way to increase the report processing timeout setting
within CRM?

Optimizing the report any further is not an option and the duplicate
checking method can be complex and it is what the customer wants. All other
reports run as expected without errors.
Jack Bender
2010-08-04 22:28:03 UTC
Permalink
We were able to resolve this issue. Interestingly enough, changing the
registry settings for OLEDBTimeout and the ExtendedTimeout had no effect on
resolving this issue.

It was the following the cured it…

1. Click Start, click All Programs, click Administrative Tools, and then
click Internet Information Services (IIS) Manager.
2. Expand the server name, and then expand Web Sites.
3. Right-click the Microsoft CRM v3.0 Web site or the Microsoft CRM v4.0 Web
site, and then click Open.
4. Right-click the Web.config file, click Open With, and then click Notepad.
5. In Notepad, locate the following line.
<httpRuntime executionTimeout="300" maxRequestLength="8192"/>
6. Change executionTimeout="3600" and change maxRequestLength="20000".
7. Save and then close the Web.config file.
We changed the executionTimeout from 300 to 600. Thus our timeout setting
was increased to 10 minutes.

Jack Bender
Post by Jack Bender
We have a beast of a report that actually check the system for duplicates and
based on the criteria selected within a parameter, it can take up to 6
minutes to run. From Visual Studio, the report generates after 6 minutes,
but from within CRM, it seems that once the report generation hits the 5
minute mark, it errors out and we get the following error in the report
viewer…
Error
An error has occurred
Does anyone know of a way to increase the report processing timeout setting
within CRM?
Optimizing the report any further is not an option and the duplicate
checking method can be complex and it is what the customer wants. All other
reports run as expected without errors.
Loading...