I have a problem.
I´m trying open a report from my application, but a get this error
Error: System.Reflection.TargetInvocationException : An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
em System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
em Telerik.Reporting.Service.SilverlightClient.ListRenderingExtensionsEventArgs.get_Extensions()
em Telerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Object sender, ListRenderingExtensionsEventArgs e)
------------- InnerException: -------------
System.ServiceModel.CommunicationException : The remote server returned an error: NotFound.
em System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
em proxy_3.EndListRenderingExtensions(IAsyncResult )
em Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndListRenderingExtensions(IAsyncResult result)
em System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
------------- InnerException: -------------
System.Net.WebException : The remote server returned an error: NotFound.
em System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
em System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
em System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
------------- InnerException: -------------
System.Net.WebException : The remote server returned an error: NotFound.
em System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
em System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<
EndGetResponse
>b__9(Object sendState)
em System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<
BeginOnUI
>b__1(Object sendState)
If i call the service directly on http://www.sgdweb.net/sgdweb/ReportService.svc it´s ok and the fiddler show the text in blue on service.jpg image.
But when i call from application the same address show error on fiddler.
Help me please.
Best regards
9 Answers, 1 is accepted
As discussed in many threads, the exception thrown in the Silverlight viewer is a generic one and it might be due to various reasons.
In order to get more information about the actual problem try the following:
- show the Output window in Visual Studio and check whether there is an exception when you're running your application in debug mode.
- access the .svc file directly in your browser to see if it reports any problems.
- enable the CLR exceptions from Debug --> Exceptions menu in Visual Studio and run your project in debug.
Kind regards,
Steve
the Telerik team
- show the Output window in Visual Studio and check whether there is an exception when you're running your application in debug mode. OK NO ERROR
- access the .svc file directly in your browser to see if it reports any problems. OK NO ERROR http://www.sgdweb.net/sgdweb/ReportService.svc or http://www.sgdweb.net/sgdwebhom/ReportService.svc
- enable the CLR exceptions from Debug --> Exceptions menu in Visual Studio and run your project in debug. OK NO ERROR
When i try on server get error
See fiddler result on images.
Please I do not know what to do!!
The screenshot from your first post showed response 404 which means the server has not found anything matching the requested URI. On the new screenshots from your second post however, you get 504 and 500 error codes. As your project works on the local IIS, the issue is most likely related to your server IIS configuration or Virtual Directory settings. Ensure that IIS, ASP.NET and WCF are correctly installed and registered - this is noted in this MSDN article: Deploying an Internet Information Services-Hosted WCF Service. Response status codes beginning with the digit "5" indicate cases in which the server has encountered an error or is incapable of performing the request. The server should also include an explanation of the error situation, and whether it is a temporary or permanent condition, however as server errors are not bubbled to the Silverlight client, you should check the raw response in Fiddler which would contain the actual exception. You can review the server event logs for exceptions too.
Another thing to make sure, the configuration for the Telerik Reporting WCF Service (see Hosting WCF Service in IIS) is in the web.config file, so are you deploying the same config file that you use to test your application on your local machine?
If you're running your app on shared hosting environment, such plans usually have memory restrictions upon which they reset your application pool i.e. the report is never successfully rendered. If you're using shared hosting, contact your hosting company and ask them for memory restrictions (if not listed in your plan details).
In general, Telerik Reporting is an embedded reporting engine, which primary goal is to analyze data and represent it in a human-readable format that is also suitable for printing. During this process, certain complex layout and paging rules are applied, so the great flexibility offered by the reporting engine comes at a price: increased processing times and memory footprint. In this line of thoughts, having limited resources for your application pool is not recommended.
Kind regards,
Steve
the Telerik team
BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >
Had you got that resolved, as i am also getting the same error and not able to get any help or solution from anywhere. Can you give any solution.
Many thanks in advance,
Sobiya
Yes I resolved but, in my case I change of server and I rented one server exclusive for me and I did all configuration.
My problem was my wold server WinHost configuration IIS.
My actual VPS is http://contabo.com/
If you has another question, send email form me. kbemvenuto@gmail.com
Tks,
Kleber Bemvenuto
I am also getting the same error, but not finding any proper solution. Actually i am getting this error only when i am selecting the All Values in report parameter or maximum number of values, otherwise it works fine, so i think there is no problem with configuration or something and if i deploy my code then also it works fine, only giving error at my localhost.
Can anyone suggest what is the solution of this problem or how to trace the actual reason.
Many thanks in advance, attached is the screenshot of the error.
Sobiya
In general, it is hard to troubleshoot such issues because there is not a lot of information on the issue and it is also hard to reproduce. If you can provide some sample that would be great.
Also check if following this help article on hosting the WCF service in IIS helps: http://www.telerik.com/help/reporting/silverlight-hosting-in-iis.html.
I think its a problem with Bulk data because if there are large number of records then its giving error its working fine up to 2800 records. Can u tell is it a problem related to that? i have given the maximum buffer size, message size and enough timeout. Can u tell me where the problem is?
I believe you need this - http://www.telerik.com/help/reporting/wcf-report-service-increasing-timeout.html
-KS