Apr 06
If you have developed a .Net 4 website in Visual Studio 10 that that uses a client reportviewer control, then you are likely to run into problems with running reportviewer on the production server. Here’s the steps to get it running:
- Install ReportViewer 10 on your production machine. Go to Microsoft Download Center and search for “Microsoft Report Viewer 2010”
download and install to your production server - publish website to production server
- on the development server go to
[drive]:\Program Files\Microsoft Visual Studio 10.0\ReportViewer\
and copy the following files to the “bin” folder of your live site:
Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.WebForms.dll - this is the tricky part, copying “Microsoft.ReportViewer.ProcessingObje
ctModel.dll” - on your production server open a Command Prompt window, then cd to [drive]:\Windows
- then dir /s Microsoft.ReportViewer.ProcessingObjectModel.dll to find the dll
- cd to assembly\gac_msil\microsoft.reportviewer.processingobjectmodel
this path contained the 2 versions of the file:
10.0.0.0__b03f5f7f11d50a3a
9.0.0.0__b03f5f7f11d50a3a
since I’m using VS2010, I need the version 10 - copy 10.0.0.0__b03f5f7f11d50a3a [drive]:\[path]\bin
- you will now see “Microsoft.ReportViewer.ProcessingObjectModel.dll” in your website’s bin folder, you’re good to go
Recent Comments