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,
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,