c# - 无法加载文件或程序集 Microsoft.ReportViewer.WebForms 或其依赖项之一

标签 c# visual-studio-2012 reportviewer

当我转到我的网站时,出现此错误...

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

这是一行代码:

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

我使用的是 Visual Studio 2012,是否需要下载一些东西并将其添加到 VS 2012 文件夹?

最佳答案

如果您实际使用的是 Reporting Services,请尝试在您将网站部署到的服务器上安装 Reporting Services 可再分发组件,或者在您的 Web 应用程序中包含所需的程序集。

关于c# - 无法加载文件或程序集 Microsoft.ReportViewer.WebForms 或其依赖项之一,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14857621/

相关文章:

c# - 检查表是否为空后插入数据

Java Socket 客户端无法连接到 C# Socket 服务器

c++ - WinDbg 可以告诉我什么是 Visual Studio 不能的?

c# - 当 Visual Studio 告诉我 "xcopy exited with code 4"时出了什么问题

SQL 数据项目 : Incorrect Syntax '$('

reportviewer - 尝试计算 RDLC 中列中非零行的平均值

c# - 在不继承 DynamicObject 的情况下在对象上实现动态功能?

C#生成唯一的Guid(不存在于数据库的表中)

reportviewer - 如何以编程方式设置报表查看器的报表语言?

asp.net - VS2010 中 ReportViewer 程序集的问题