Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definiti

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.ReportViewer.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
 (Fully-specified)
LOG: Appbase = file:///D:/KYPJXT/Web/
LOG: Initial PrivatePath = D:\KYPJXT\Web\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: D:\KYPJXT\Web\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.ReportViewer.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/bf2e1a56/53f95d2e/Microsoft.ReportViewer.Common.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/bf2e1a56/53f95d2e/Microsoft.ReportViewer.Common/Microsoft.ReportViewer.Common.DLL.
LOG: Attempting download of new URL file:///D:/KYPJXT/Web/bin/Microsoft.ReportViewer.Common.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.


网上的解决办法都不起作用,到微软网站下载最新的ReportViewer报表版本,地址如下:

https://www.microsoft.com/zh-cn/download/details.aspx?id=45496

posted @ 2016-09-27 14:43  智乐行  阅读(3407)  评论(0)    收藏  举报