We have a 2005 report that can be 2 to around 250 pages with the average being in the ballpark of 10. When the report was developed, our developer was told that 10 pages or so was the right number, and without knowing the business domain very well he decided reporting services was the correct approach.
Now that the report has been deployed to PROD, we are having some complaints of the report timing out. Neither the developer or I on this are terribly surprised given the sheer size of the report that is being requested (250 pages).
My question is what options do we have to use our current report that works 95% of the time and make it work for the remaining 5%? Are there configuration options anywhere to improve the rendering performance or anything like that?
The report is used for return authorizations so the size of the returns can very. Each authorization page has 4 different return labels with logos and barcodes.
To clarify:
The report is rendered fairly quickly from reporting services to the report viewer, but when we export to PDF is when it takes a while to load.
Open the Jobs folder. Right-click the report and then click Cancel Jobs.
6 GB of available hard disk space. 4 GB memory. 1.4 GHz minimum 64-bit CPU.
You can fiddle with any of the following:
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://yourserver.com/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
<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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With