This is a migrated thread and some comments may be shown as answers.

System.Reflection.TargetInvocationException

1 Answer 391 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adil
Top achievements
Rank 1
Adil asked on 20 Jul 2011, 07:17 AM
I am using Telerik reporting in a silverlight application and loading the data by using report service and SQLDataSource. The report could not be rendered and throwing the following Exception:

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.ServiceActivationException : The requested service, 'http://www.govansoft.com/CRE.SL/ReportService.svc' could not be activated. See the server's diagnostic trace logs for more information.
   at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
   at proxy_2.EndRenderAndCache(IAsyncResult )
   at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndRenderAndCache(IAsyncResult result)
   at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 20 Jul 2011, 01:45 PM
Hello Adil,

Telerik Reporting WCF Service is standard WCF Service and that is why the error you have received is a generic one. Without more information about your setup and mainly the WCF service registration, we can only guess what is causing the problem.

Our suggestion is to review the articles above for more info on setting the service up as well as these links:
Additionally a quick search shows various reasons for this error - check them and let us know if further help is needed.
All the best,
Steve
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
Adil
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or