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

How do I: Link Telerik Reporting with RIA Services

2 Answers 152 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
shae
Top achievements
Rank 1
shae asked on 17 Dec 2010, 09:57 PM
I have an application that uses Silverlight for it's UI front end.
RIA Services (with Entity Framwork) is used for fetching and changing the Entities to POCO objects.

I have 4 projects (Not the actual names of the projects, but suffixes are correct):
Application (Main SL application)
Application.Web (startup Web project)
Domain (SL Class library)
Domain.Web (Main RIA service project with all the services and EntityModels)

There is a RIAService Link between Domain and Domain.Web.
There is a reference to Domain.Web from Application.Web.
There is a reference to Application.Domain from Application.

I am now adding a new ClassLibrary project "ReportLibrary" to house all the reports. I want to use the POCO objects returned by my methods in the services as the source of the reports, but I'm having trouble making the connections needed.
This application is to be deployed to many clients, so the connection string is being stored in the web.config of Application.Web.

My question is:
How do I set up the ReportLibrary project to work with the RIA Service structure I have?

I have looked at this blog Using Telerik Reporting with RIA Services but I don't seem to be able to replicate it. It doesn't really have the same Solution structure.
I tried adding a reference to Domain.Web in ReportLibrary, but when I test the report, it gives the following error:
"The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider..."
I also tried adding the EntityFramework connection that I used on the web.config in Application.Web, but it did not fix it.

Thanks,

2 Answers, 1 is accepted

Sort by
0
Dave Navarro
Top achievements
Rank 2
answered on 13 Jan 2012, 11:42 PM
Hello,

I have a similar situation and was wondering if an answer was ever provided for this question.

Please let me know and thanks!

~ Dave
0
Elian
Telerik team
answered on 16 Jan 2012, 04:26 PM
Hello,

Please follow this blog describing how to use Telerik Reporting with WCF RIA services. 

Kind regards,
Elian
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
General Discussions
Asked by
shae
Top achievements
Rank 1
Answers by
Dave Navarro
Top achievements
Rank 2
Elian
Telerik team
Share this question
or