Josh
Josh

Reputation: 8477

Microsoft Report Viewer 2010 Deployment

Is it a requirement to have Microsoft Report Viewer 2010 SP1 Redistributable Package run on the web server in order to have users view asp.net pages (built with VS2010 SP1) that reference Microsoft ReportViewer controls?

I was hoping that if I referenced the dlls in the web project listed in this MS article, that I would avoid having to run the redistributable package on the server.

Upvotes: 4

Views: 9367

Answers (2)

varun
varun

Reputation: 11

It is always better to install redistributable package on web server as you are sure to have included all of the file related to report viewers.

As you are using report viewer 2010 to show ssrs report so, you should include following dlls in GAC :

  • Microsoft.ReportViewer.WebForms
  • Microsoft.ReportViewer.Common
  • Microsoft.ReportViewer.ProcessingObjectModel

For furthur information ,how to use report viewer 2010 and changes need to done in web.config for using report viewer 2010 ,see following post:http://ivarunsingh.blogspot.com/2011/12/report-viewer-2010.html

Upvotes: 1

DCNYAM
DCNYAM

Reputation: 12126

No, it is not necessary to have the redistributable installed on the web server. Just set the copy local property for the report viewer dll references to true.

See the following article. It discusses deploying to an Azure environment, but the same idea holds for deploying to a web server without the redistributable package.

http://msdn.microsoft.com/en-us/library/gg430128.aspx

Upvotes: 2

Related Questions