Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load file or assembly Microsoft.ReportViewer.WebForms or one of its dependencies

When I goto my site I get this error...

Error   101 Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. C:\mlui\csharp\WebAdmin_solution\WebAdmin\web.config    209

which is this line of code:

<add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

I am using Visual Studio 2012, do I need to download something and add it to the VS 2012 folder?

like image 474
user1269625 Avatar asked Feb 13 '13 15:02

user1269625


1 Answers

If you're actually using the Reporting Services, try to install the Reporting Services redistributable on the server you deploy your web site to or include the required assemblies with your web application.

like image 101
Thorsten Dittmar Avatar answered Sep 21 '22 04:09

Thorsten Dittmar