From: kbutterly on
Hello all,

I have a Reporting Services report that runs fine when I run it from
Visual Studio. It also runs fine from Report Manager. However, when
I run it from an .aspx page named RSRenderReport.aspx, I get a timeout
error after about 100 seconds.

I have set the following:

In the web.config:
<httpRuntime executionTimeout="300" maxRequestLength="300000" />

In the code behind, RSRenderReport.aspx.vb:
Dim objRS As New ReportingService.ReportExecutionService
objRS.Timeout = -1

The error returned is:

****BEGIN ERROR MESSAGE*****
Message: The operation has timed out

Source: System.Web.Services

Stack Trace: at
System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at ReportingService.ReportExecutionService.Render(String Format,
String DeviceInfo, String& Extension, String& MimeType, String&
Encoding, Warning[]& Warnings, String[]& StreamIds)
at ReportingServicesGateway.RSRenderReport.Page_Load(Object sender,
EventArgs e)
****END ERROR MESSAGE*****

Where else can I set the timeout so that this will work?

Thanks for any info,
Kathryn


 | 
Pages: 1
Prev: Changes not sticking
Next: Stored Procedure