Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0

北战南征 提交于 2019-12-24 09:30:24

问题


Using MVC5 with rdlc to generate pdf, it's working fine in localhost, but when i deply the application to server when i try to generate report it has error that some assebly are missing.....

Server Error in '/webapp' Application.

    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.

so far install in

webs server iis 2012

1- SQLSysClrTypes 2- ReportViewer

after reboot server still while printing the report server error


回答1:


You are probably missing this assembly in bin folder. This can happen if you reference it in Global Assembly Cache (GAC). Check your project references in Visual Studio, find this assembly, press F4 (you will see it's properties), then set Copy Local to true. In this case the assembly will always be copied to bin folder.



来源:https://stackoverflow.com/questions/45207154/could-not-load-file-or-assembly-microsoft-reportviewer-processingobjectmodel-v

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!