简体   繁体   中英

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

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

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.

安装这个 nuget 包Cquential.Microsoft.ReportViewer.ProcessingObjectModel

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM