Modifying the service request timeout

While working with large sized reports that take quite a long time to be rendered, the service request timeout can expire and the report cannot be displayed.

The SharpShooter Reports 6.6 introduces the possibility to configure request timeout value with the help of setServiceRequestTimeout method used by ReportViewer. The getServiceRequestTimeout method can be used for obtaining the current timeout value. The value is set and returned in milliseconds.

In case you are using SharpShooter Reports 6.5 or earlier versions, the only way to increase the request timeout value is to edit the parameter manually in PerpetuumSoft.Reporting.WebViewer.Client.js library.

To do this, open PerpetuumSoft.Reporting.WebViewer.Client.js library in editor and find the line beginning with "PerpetuumSoft.Reporting.WebViewer.Client.ServiceProvider.prototype=" , then browse for "$B:200000" value. This is the default timeout value set in milliseconds. Change the value as desired to modify the service request timeout parameter.

Add Feedback