ilich / MvcReportViewer

ASP.NET MVC Html Helpers for ReportViewer Control.
MIT License
279 stars 131 forks source link

Could not load file or assembly Microsoft.ReportViewer.Common, Version=11.0.0.0 #23

Closed kcruzado closed 10 years ago

kcruzado commented 10 years ago

It works locally, but when I deploy to server I get the following error when trying to view a report. Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. error

kcruzado commented 10 years ago

I am still having an issue with this. Am I missing something in the deployment?

ilich commented 10 years ago

First of all check if you have Microsoft.ReportViewer.WebForms (v. 11.0.0.0) and Microsoft.ReportViewer.Common (v. 11.0.0.0) in GAC on your server. If they are missing then set the CopyLocal property to true for both libraries in your project.

If it still does not work then you should try to setup ReportViewer on your server. This is the information how to do that: http://blogs.msdn.com/b/arvindsh/archive/2012/12/11/microsoft-report-viewer-2012-update-a-gotcha-to-be-aware-of.aspx

kcruzado commented 10 years ago

Sorry for the late response. I got pulled into other projects at work, and I just installed "SQL Server System CLR Types" and "Microsoft Report Viewer 2012 Runtime" on the server. After the install the errors went away. Thanks for your help.

baodinh commented 9 years ago

How can i resolve it,pls help me steps

ilich commented 9 years ago

kcruzado,

Thank you!

baodinh,

Go to http://www.microsoft.com/en-us/download/details.aspx?id=35747 (Developer Tools MICROSOFT® REPORT VIEWER 2012 RUNTIME). Download the viewer runtime and SQL Server System CLR Types (see Related Resources at the bottom of the page). Install these to your server. I think it should fix the issue.

baodinh commented 9 years ago

how can i install in appharbor ? i am newbie appharbor.

ilich commented 9 years ago

I am sorry, but I have never used it either. You should contact AppHarbor support and discuss the issue with them directly.

baodinh commented 9 years ago

thank u very much, i will do it. which server are you using ?

ilich commented 9 years ago

We are using our own servers. I would go with Windows Server 2012 VPS for my own project. There are basic VPS servers for a good price.

aneelponnada commented 3 years ago

kcruzado,

Thank you!

baodinh,

Go to http://www.microsoft.com/en-us/download/details.aspx?id=35747 (Developer Tools MICROSOFT® REPORT VIEWER 2012 RUNTIME). Download the viewer runtime and SQL Server System CLR Types (see Related Resources at the bottom of the page). Install these to your server. I think it should fix the issue.

Hi,

This worked for me. Thank you so much for your help.