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

Adding Report Capabilities to Silverlight Application

2 Answers 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jen
Top achievements
Rank 1
Jen asked on 04 Mar 2011, 07:48 PM
I've been assigned to finish up the development of a Silverlight application. My remaining task before the product release is to add in reporting capabilities and I'm a bit overwhelmed as to how to properly do this.

The Visual Studio solution contains the following projects: TCMM, TCMM.Common, TCMM.Web. In the /Views folder in the application (TCMM), I created a new Silverlight user control that has the Silverlight Report Viewer in it and I created a new project within the solution called TCMM.ReportLibrary, where I had planned to build all the reports (there are eight or nine that are required).

When I run the application now, I get the following error:
The Silverlight project you are about to debug uses WCF RIA services. WCF RIA services will fail unless the Silverlight project is hosted in and launched from the same web project that contains the WCF RIA services.

Because I have some .NET experience, I inherited this project after the original developer left the company. I'm totally new to Silverlight and this is far more complicated than any of my past .NET experience. I used the step-by-step tutorials and the examples included in the install, and I can successfully create reports using the AdventureWorks database and the examples. However, every time I apply these techniques to the existing solution, I get the above error.

I wonder if it's the way I've added the new project folder that holds the library (TCMM.ReportLibrary) or the report viewer page or if it's just not possible at this time, and I should be looking at a different solution. I'm using Visual Studio 2010, Telerik Reporting Q3, and Silverlight 4.

Thank you for any advice or suggestions, Jen

2 Answers, 1 is accepted

Sort by
0
Jen
Top achievements
Rank 1
answered on 07 Mar 2011, 02:30 PM
Any ideas? Has anyone else seen this error? I'm under deadline and it's either figure this out or lose my job!
0
Jill
Top achievements
Rank 1
answered on 07 Mar 2011, 02:57 PM
First, make sure the .Web project is your StartUp project (Right click and select "Set as StartUp Project). That *should* take care of that error.

Jill
Tags
General Discussions
Asked by
Jen
Top achievements
Rank 1
Answers by
Jen
Top achievements
Rank 1
Jill
Top achievements
Rank 1
Share this question
or