当我转到我的网站时,出现此错误...
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/