Advanced reporting
and data visualization components for .NET
LIVE CHAT Welcome, guest

 





Operation Timeout
Display Posts for:
Invert
Aiden Leech 07/07/2010 06:57
Operation Timeout

Hi,

We are using the PerpetuumSoft Silverlight ReportViewer to render documents via ReportingServices 2005 and we are experiencing the following error:

e.Exception = {PerpetuumSoft.Reporting.Silverlight.MsReporting.Client.ReportService.ExceptionDetailBase}

e.Exception.Message = "The operation has timed out"

This occurs after approx 100secs of execution before the .asmx on the report server has returned with the response. I am aware there could be a 100sec timeout on web service proxies and wondered if you knew a way to configure this or if you know the real reason behind this error.

Our service endpoint which inherits from MsReportServiceRemote (IReportService) uses a SendTimeout of 10minutes which should be enough time to execute this report. We get this timeout error after 100secs from calling the RenderDocument().

Many thanks for your help in advance.

Aiden
Aiden Leech 07/07/2010 14:59
Operation Timeout

Further to my investigations I have observed the following:

Assembly: PerpetuumSoft.Reporting.Silverlight.Server.ReportingServices.dll

Class: MsReportServiceRemote

Method: LoadReport

Creates a new connection:
new ServiceConnection(ServiceUrl, Credentials)
ServiceConnectionPool.Instance.Pop(url, credentials)
new ReportExecutionService(ServiceUrl)

ReportExecutionService is an internal class and inherits from SoapHttpClientProtocol
Url is set in code.
Timeout is not set or configured therefore default value of 100000ms is used.

We require the timeout to be configurable so that this error doesn't occur. Any chance that this can be implemented?

Thanks,

Aiden
Sergey Piskov 07/15/2010 06:46
Operation Timeout

Hello.

Set the values for the following parameters in configuration file in order to set latency time:
closeTimeout
openTimeout
receiveTimeout
sendTimeout

In <bindings><basicHttpBinding><binding … section

Best regards,
Sergey Piskov
Perpetuum Software Team
Aiden Leech 07/15/2010 06:52
Operation Timeout

Hi Sergey,

I have already set these values and tehy will not affect the internal proxy to the ASMX as that is not a WCF service. There is no way to override the timeout on the proxy to the ASMX.

Thanks,

Aiden
Sergey Piskov 07/21/2010 08:04
Operation Timeout

Hello.

You can try to assign TimeOut-attribute value in the MsReportingServer section of the web.config -file.
Here is an example of doing this:

<MsReportingServer TimeOut="10000" …

TimeOut value should be in milliseconds.

Best regards,
Sergey Piskov
Perpetuum Software Team
Aiden Leech 07/23/2010 03:35
Operation Timeout

Hi,

I have tried adding a TimeOut attribute to MsReportingServer in the web.config but this is an unrecognized attribute and is not documented anywhere. Can you provide an updated assembly that will recognize this attribute and consume it? Otherwise I am confused as to why you suggested it.

Thanks,

Aiden
Aiden Leech 07/23/2010 04:11
Operation Timeout

I have just downloaded version 1.5.0.0 from 06/07/2010 and have found the "Timeout" attribute. Can you advise the best way to upgrade? We are currently runnining Silverlight 3.0 and Visual Studio 2008 but this requires Silverlight 4.0 and Visual Studio 2010.

Many thanks,

Aiden
Dmitry Zhukov 07/26/2010 06:34
Operation Timeout

Hello,

You can download a version for Silverlight 3 and Visual Studio 2008 here:
http://www.perpetuumsoft.com/sf/en/dws/SilverlightViewerForReportingServices_1_1_0_0.zip

Best regards,
Dmitry Zhukov
Perpetuum Software Support Team