RIA Service as data source

5 posts, 0 answers
  1. Scott
    Scott avatar
    13 posts
    Member since:
    Jul 2012

    Posted 09 Sep 2012 Link to this post

    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
  2. palak
    palak avatar
    102 posts
    Member since:
    May 2011

    Posted 12 Sep 2012 Link to this post

    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
  3. DevCraft banner
  4. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 13 Sep 2012 Link to this post

    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 >

  5. Scott
    Scott avatar
    13 posts
    Member since:
    Jul 2012

    Posted 13 Oct 2012 Link to this post

    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
  6. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 16 Oct 2012 Link to this post

    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!

Back to Top
DevCraft banner