There're some problem. I have a report which is executed long time. When the one hour passes "The page cannot be displayed" error is appear. I think it's smth. with timeout settings.
This settings had been increased:
C:\Program Files\Microsoft SQL Server\MSSQL.2\ReportingServices\ReportManager\Web.config C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\Web.config
<httpRuntime executionTimeout="18000"/>
C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\rsreportserver.config
<Add Key="SQLCommandTimeoutSeconds" Value="18000"/>
<Add Key="MaxActiveReqForOneUser" Value="20"/>
<Add Key="DatabaseQueryTimeout" Value="18000" />
Also:
Report Manager->Site settings->Report Execution Timeout->select “do not timeout report execution”.
Changes doesn't solved my problem.
May be there're smth. in IIS configuration? Is there're any other timeout settings I should to increase?
Hope for your help. Thanks.
Couple of options:
1) Modify SessionTimeout and SessionAccessTimeout system properties.
Here is a sample script for rs.exe which will set these values for you:
Public Sub Main()
Dim props() as [Property]
props = new [Property] () { new [Property](), new [Property]() }
props(0).Name = "SessionTimeout"
props(0).Value = timeout
props(1).Name = "SessionAccessTimeout"
props(1).Value = timeout
rs.SetSystemProperties(props)
End Sub
You can run this script with the following command:
rs -i sessionTimeout.rss -s http://localhost/reportserver -v timeout="6000"The timeout is expressed in seconds, so this example sets the SessionTimeout and SessionAccessTimeouts to about an hour and a half.
(via http://blogs.msdn.com/b/jgalla/archive/2006/10/11/session-timeout-during-execution.aspx)
2) Change Report Execution Timeout via Report Manager Open Report Manager At the top of the page, click Site Settings. This opens the General Properties page of the site.
Report Execution Timeout Specify whether report processing times out after a certain number of seconds. (via http://msdn.microsoft.com/en-us/library/ms181194.aspx)
3) Set the HttpRuntime ExecutionTimeout
a. Open the ReportServer’s Web.config file by going to Start -> Administrative Tools -> Internet Information Services.
b. From there, expand Web Sites -> Default Web Site, and click on ReportServer. On the right-hand pane, right-click ‘Web.Config’ and select ‘Open’.
c. Locate the HttpRuntime parameter. If it doesn’t exist, you will have to create it within the section.
d. Set the executionTimeout value to ‘10800’ (3 hours) as shown below:
<system.web>
<httpRuntime executionTimeout = "10800" />
</system.web>
4) Increase the script timeout on the report server
5) Set the report to never time out on the server