iis 未能加载文件或程序集“Microsoft.ReportViewer.ProcessingObjectModel,版本=10.0.0.0”

monwx1rj  于 2023-08-05  发布在  Go
关注(0)|答案(3)|浏览(189)

使用MVC 5与rdlc生成PDF,它在本地主机工作正常,但当我将应用程序部署到服务器时,当我试图生成报告时,它有一些assebly丢失的错误。
“/”应用程序中的服务器错误。

Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel,
 Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
 dependencies. The system cannot find the file specified.

字符串
到目前为止安装在
web server iis 2012
1-SQLSysClrTypes 2- ReportViewer
重新启动服务器后,打印报表服务器时仍出现错误

u5i3ibmn

u5i3ibmn1#

bin文件夹中可能缺少此程序集。如果在全局程序集缓存(GAC)中引用它,则可能会发生这种情况。在Visual Studio中检查项目引用,找到这个程序集,按F4(您将看到它的属性),然后将Copy Local设置为true。在这种情况下,部件将始终复制到bin文件夹中。

kuuvgm7e

kuuvgm7e2#

安装此nuget包Cquential.Microsoft.ReportViewer.ProcessingObjectModel

相关问题