Reporting Services Timeout in Sharepoint
Recently someone asked me to check a Reporting Services report that always resulted in an Unexpected Error. The report server was configured for Sharepoint Integrated Mode.
I came to the conclusion that the server always returned this error after exactly 2 minutes, so it had to be a timeout exception.
The report was kind of big, so tuning it would not really help (enough).
I took me some time to find out which timeout setting to change, because there seem be a lot of them:
There is the Query Execution timeout of the Dataset, a Report Execution timeout, the Connection timeout of IIS, other timeouts in the Report Server Configuration file, …
But the real cause of this timeout is an Execution timeout of Sharepoint.
You can change this timeout setting in the web.config of your Sharepoint site, by default in c\:inetpub\wwwroot\wss\VirtualDirectories\80.
In this web.config you will find an XML node called “httpRuntime”. In this node you have to add an extra tag: executionTimeout=”9000″:
<httpRuntime maxRequestLength=”51200″ executionTimeout=”9000″ />
Save and close the file and do an IISReset. When you run the report again, you won’t get this error anymore.
I also checked the web.config of the Report Manager, but in Native Mode this seems to be the default:
Good luck!


This worked a treat!! Thanks
That worked for us. Thanks!