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

RIA Service as data source

4 Answers 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 09 Sep 2012, 10:50 PM
Hello,

I'm trying to use the trial version of the Reporting product.

I would like to use my existing Ria service with ADO Entity DataModel and the DomainService. I have read through the forums extensively before bothering you.

I did see many references to:

http://blogs.telerik.com/telerikreportingteam/posts/10-10-22/using-telerik-reporting-with-wcf-ria-services.aspx

But still can't figure it out from that.

Do you have some sample project that shows how to do this please?

Thank you in advance!

Scott

4 Answers, 1 is accepted

Sort by
0
palak
Top achievements
Rank 1
answered on 12 Sep 2012, 06:22 AM
Hi,

i found that current Q2 2012 build 6.1.12.823. complies with only telerik's own WCF service. I also would like to see whether we can use RIA along with EF 5.

Thanks,
palak
0
Peter
Telerik team
answered on 13 Sep 2012, 07:33 AM
Hi Scott,

The referenced blog post includes a sample solution that demonstrates the suggested approach.

Click here to download a sample solution. 

Greetings,
Peter
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
Scott
Top achievements
Rank 1
answered on 13 Oct 2012, 07:07 PM
Hello,

Thank you for the sample code. I was able to produce a report as you indicated.

I am having another problem though. While my code runs fine in the development environment when I deploy to IIS7 both my Ria DomainService and my Authentication DomainSerivce fail.

By simply 'excluding from project' the report.cs, my DomainServices begin to work again.

The error message I have included comes from the Auth Service, but if I try a Ria Service call, it too fails. Note that the failure is prior to calling the ReportViewer.

I noticed that in the example you provided, the reports were not in a Class Library, but in the Web project side of the Silverlight solution. Is that a problem? If so, do you have a example that uses Silverlight + Ria + a segregated Class Library for the reports?

Do you have any suggestions?

Thanks in advance,

Scott
0
Peter
Telerik team
answered on 16 Oct 2012, 04:58 PM
Hi Scott,

The exception thrown in is a generic one and it might be due to various reasons.

In order to get more information about the actual problem try to access the .svc file directly in your browser to see if it reports any problems.

About the solution - we have added the reports in the web application in order to simplify the sample. Still we have made a sample with separate report class library.

Kind regards,
Peter
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Scott
Top achievements
Rank 1
Answers by
palak
Top achievements
Rank 1
Peter
Telerik team
Scott
Top achievements
Rank 1
Share this question
or