Using a Silverlight application and Telerik ReportViewer we're having the following issue.
We have a drop down to pick a client. That is passed to the report SQL and is all working fine.
If I run a smaller client report (up to about 60 pages or so works fine), it comes back fine.
If I run a larger client report... I get the following message.
Same report... only difference is the volume of data. I can subsequently pick a smaller client and it reloads and renders just fine.
This error occurs (by me counting) about 40 seconds after the initial call.
I have tried setting the binding as follows (and confirmed the code gets called)
The report is configured using a SqlDataSource object and the CommandTimeout there is set to 900 seconds. After that SQL text is used with a single parameter.
Again it only fails on large amounts of data... It works fine in Preview mode (design time) as well. One big one is 1400+ pages which is only about 42,000 rows.
We have a drop down to pick a client. That is passed to the report SQL and is all working fine.
If I run a smaller client report (up to about 60 pages or so works fine), it comes back fine.
If I run a larger client report... I get the following message.
Error: System.Reflection.TargetInvocationException : An exception occurred during the operation, making the result invalid. Check InnerException for exception details. at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() at Telerik.Reporting.Service.SilverlightClient.RenderAndCacheEventArgs.get_RenderingResult() at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnRenderAndCacheCompleted(Object sender, RenderAndCacheEventArgs e)------------- InnerException: -------------System.ServiceModel.CommunicationException : The remote server returned an error: NotFound. at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args) at proxy_3.EndRenderAndCache(IAsyncResult ) at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndRenderAndCache(IAsyncResult result) at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)------------- InnerException: -------------System.Net.WebException : The remote server returned an error: NotFound. at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state) at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)------------- InnerException: -------------System.Net.WebException : The remote server returned an error: NotFound. at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState) at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState)Same report... only difference is the volume of data. I can subsequently pick a smaller client and it reloads and renders just fine.
This error occurs (by me counting) about 40 seconds after the initial call.
I have tried setting the binding as follows (and confirmed the code gets called)
public ReportServiceClient Create(Uri remoteAddress){ var binding = new BasicHttpBinding() // or BasicHttpBinding(BasicHttpSecurityMode.Transport) overload if SSL is used { MaxBufferSize = int.MaxValue, MaxReceivedMessageSize = int.MaxValue, ReceiveTimeout = new TimeSpan(0, 15, 0), SendTimeout = new TimeSpan(0, 15, 0), OpenTimeout = new TimeSpan(0, 15, 0) }; var endpointAddress = new EndpointAddress(remoteAddress); return new ReportServiceClient(binding, endpointAddress);}The report is configured using a SqlDataSource object and the CommandTimeout there is set to 900 seconds. After that SQL text is used with a single parameter.
Again it only fails on large amounts of data... It works fine in Preview mode (design time) as well. One big one is 1400+ pages which is only about 42,000 rows.