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

Having problems connecting Telerik Report in Silverlight from WCF Service

2 Answers 171 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Francisco
Top achievements
Rank 1
Francisco asked on 23 Sep 2010, 03:08 PM
Im using a WCF Solution that handle the report, and in a Silverlight solution im rendering the report. But i have 2 issues.
1. Cannot debug in the WCF service the Need_Datasource event.
2. when trying to render the  report show me this error: "There is no available report type with assembly qualified name "ReportName, Namespace". Could not load file or assembly "ReportName, Namespace" or one of its dependencies. The system cannot find the file specified.

Please if you could send me an example on how to work with WCF and Silverlight in 2 diferenst solutions it would be great.

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 24 Sep 2010, 07:49 AM
Hello Francisco,

Thank you for your interest in Telerik Reporting and up to your questions:
  1. As outlined in the Using the NeedDataSource event to connect data help article, the event is raised by the reporting engine only when there is no data source attached. So if that is the case, a break point would never stop there. If this is not the case please elaborate what you mean.
  2. This error means that it cannot locate type with the specified assembly qualified name or you have forgotten to add reference to the report library in the web project. Here is an example of how report property should be specified:

    <telerik:ReportViewer  x:Name="ReportViewer1" Width="1000"
                  ReportServiceUri="../ReportService.svc"
                  Report="Telerik.Reporting.Examples.CSharp.BarcodesReport, CSharp.ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
                </telerik:ReportViewer>
Additionally you already have access to working examples - these are the Visual Studio report examples installed along with the product. You can open them up from the install directory and review the Silverlight application.

Sincerely yours,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mitchell
Top achievements
Rank 1
answered on 30 Sep 2010, 07:20 PM
I am having this same problem and I tried to add a reference to the class library as stated above but I get the following error when I try to reference it: "You can only add project references to otherSilverlight projects in the solution."

If I create a silverlight class library, and add a telerik report to it, I recieve an error and can't get into the designer for the reports.

*** EDIT ****
Nevermind I was accidently overridding it in a code behind file.  Problem solved
Tags
General Discussions
Asked by
Francisco
Top achievements
Rank 1
Answers by
Steve
Telerik team
Mitchell
Top achievements
Rank 1
Share this question
or