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

Can't resolve InstanceReportSource

3 Answers 234 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
danparker276
Top achievements
Rank 2
danparker276 asked on 30 Aug 2012, 08:45 PM
In my asp.net webforms or my Silverlight app, I can't resolve InstanceReportSource.

I have the latest Q2 2012 and ran both solutions through the upgrade wizard.

Also, I can see my report in the asp.net webform, but not the siverlight version after my upgrade to q2 2012.  My configs and dlls are up to date.  I'm not using InstanceReportSource for my silverlight report viewer, but I don't think you're supposed with that right?  That's only for WPF and asp.net.  Not being able to see the error message in silverlight is maddening, I'm 90% away from giving up on the silverlight viewer and always popping up a web browser report.

For silverlight I'm still using 
            repViewer.Report = "MyReportsNameSpace.MyRepor1, MyReportsNameSpace";
            repViewer.RenderBegin += new Telerik.ReportViewer.Silverlight.RenderBeginEventHandler(repViewer_RenderBegin);
...

3 Answers, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 04 Sep 2012, 08:23 AM
Hi Dan,

From your explanation it is not very clear to us what your goals or setup are. Additionally you have not described the incorrect behaviour of the Report Viewer and when it happens. Therefore we will need additional details about your task and setup. Additionally you can send us a runnable sample that exhibits the issue so that we are able to reproduce it at our end - that way we will be able to identify the culprit faster and advise you more accordingly.

All the best,
IvanY
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 >

0
danparker276
Top achievements
Rank 2
answered on 04 Sep 2012, 06:24 PM
Ok, it looks the InstanceReportSource is only WPF.  
But my silverlight report viewer is getting an error on previous reports after the upgrade.  I'm not even using code behind.  This report works on WPF and the asp.net.  No parameters
<my:ReportViewer Grid.Row="1" Margin="2 5 2 5"
        ReportServerUri="http://myserver/WebsiteReports/ReportService.svc"
        Report="MyNameSpace.DiagnosticsReport, MyNameSpace, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
 
    MinHeight="600" Name="repViewer" />


I get this error below:
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_2.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.BrowserHttpWebRequest.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.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)
0
danparker276
Top achievements
Rank 2
answered on 04 Sep 2012, 11:21 PM
Sorry, I forgot to add the dll Telerik.Reporting.Serivce.dll
I'm not sure how my asp.net reports could have loaded up the other day.  I guess it was in the cache of the server or something.  Sorry it was just hard to debug without an error message.

Tags
General Discussions
Asked by
danparker276
Top achievements
Rank 2
Answers by
IvanY
Telerik team
danparker276
Top achievements
Rank 2
Share this question
or