Okay, how do you deploy this to an ISP
I have an ASP .Net 2.0 application that uses the report viewer control for local reports. This works perfectly on my development machine, but when deployed to an ISP, I initially get an error that the Microsoft.ReportViewer.Common assembly is not found.
I can bypass this by deploying the assemblies, but then I get an error:
The definition of the report 'Main Report' is invalid.
There is no "Main Report" in my application, so I assume I am missing something in my deployment. Does anyone know what I am missing?
The issue is that ReportViewer is not part of the .NET Framework. However, when Visual Studio 2005 is released, ReportViewer will be freely redistributable. You will be able to run a setup program to install ReportViewer on the target machine.
The workaround for now is to manually copy the following assemblies to the target machine (either to the bin directory or to the GAC):
Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.ProcessingObjectModel.dll
Microsoft.ReportViewer.WebForms.dll
You can find these assemblies in the GAC of any machine that has Visual Studio 2005 Beta 2.
Rajeev,
Now the final release of VS2005 is out, can you give us an idea of how to install the ReportViewer? I really hope it is inside the .NET Framework. But if not, where to download seperate setup for ReportViewer?
Please, I will have a installation this Tuesday.
Thanks
Wei
I was having the same problem with my move from a development environment to a production one. I installed the ReportViewer dlls and tried tons of different things. I finally found this post and followed his advice - it worked perfectly for me:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=232869&SiteID=1