无法加载文件或程序集'microsoft.reportviewer.winforms version = 11.0.0.0 [英] Could not load file or assembly 'microsoft.reportviewer.winforms version=11.0.0.0

查看:718
本文介绍了无法加载文件或程序集'microsoft.reportviewer.winforms version = 11.0.0.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在我的解决方案中替换了一个程序集文件。新的程序集是Microsoft.ReportViewer.WinForms版本11.0.3366.16来替换旧的版本10程序集文件。

背后的原因是支持excel导出从.xls(最大65k)支持的最大行。 xlsx(最多100万)行。我已经在我的本地PC上测试了,我没有问题保存为.xlsx文件并在.xlsx文件中查看。



但是当我尝试使用另一台PC时,它每当我访问RDLC模块时,都会返回上面标题的错误。我检查了所有配置(文件夹引用,Copy Local为true,Specific Version为true,两台PC都安装了SQL Management Studio 2008)。唯一的区别是可行的PC安装了Visual Studio 2010,而不可操作的PC没有安装Visual Studio 2010.



有什么我错过的吗?任何帮助,将不胜感激。谢谢。



我的尝试:



1.更改所需的所有必要配置。

解决方案

您需要在目标计算机上安装报表视图运行时,以确保存在所有依赖项。



从下载MICROSOFT®REPORTVIEWER 2012 RUNTIME官方Microsoft下载中心 [ ^ ]

Hi, I have just replace an assembly file in my solution. The new assembly is Microsoft.ReportViewer.WinForms version 11.0.3366.16 to replace the old version 10 assembly file.
The reason behind was to support excel exporting maximum row supported from .xls(max 65k) into .xlsx(max 1 million) rows. I have tested in my local PC and I have no problem save as .xlsx file and view in the .xlsx file.

But when I try on another PC, it return me the error as above title whenever I access the RDLC module. I have checked all my configuration(folder referencing, Copy Local as true, Specific Version as true and both PC have SQL Management Studio 2008 installed). The only difference is workable PC has Visual Studio 2010 installed while unworkable PC do not have Visual Studio 2010 installed.

Is there anything that I have missed out? Any help would be appreciated. Thank you.

What I have tried:

1. Changed all necessary configuration needed.

解决方案

You'll need to install the report view runtime on the target computer to ensure that all of the dependencies are present.

Download MICROSOFT® REPORT VIEWER 2012 RUNTIME from Official Microsoft Download Center[^]


这篇关于无法加载文件或程序集'microsoft.reportviewer.winforms version = 11.0.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆