的ReportViewer错误 - 该报告与QUOT的定义;是无效的。无法加载文件或程序集Microsoft.ReportViewer.ProcessingObjectMode [英] ReportViewer error - The definition of the report " is invalid. Could not load file or assembly Microsoft.ReportViewer.ProcessingObjectMode
问题描述
我的ReportViewer在我的项目。当我在Vsual工作室2012创建的.exe InstallShield中的这个文件我加入到再分发微软的ReportViewer 2010
。
I have ReportViewer in my project. When I create .exe of this file in InstallShield in Vsual Studio 2012 I add into Redistributables Microsoft ReportViewer 2010
.
当我在Windows 8安装我的应用程序 - 每一个的ReportViewer显示它的报告正确
When I do install my app on Windows 8 - every ReportViewer displays it's report correctly.
我在的Windows XP
有问题的ReportViewer正确加载,但里显示这个错误,而不是正确的报告:
I'm having problem on Windows XP
the ReportViewer loads correctly but displayes this error instead of correct Report:
本地报表处理过程中出现错误。的定义 该报告是无效的。ocurred在报告意外错误 加工。
An error occurred during local report processing. The definition of the report " is invalid. An unexpected error ocurred in Report Processing.
无法加载文件或程序集 Microsoft.ReportViewer.ProcessingObjectMode。版本= 11.0.0。, 文化=中性公钥= 89845dc8080cc91或一个其 依赖性。该系统找不到指定的文件。
Could not load file or assembly Microsoft.ReportViewer.ProcessingObjectMode. Version =11.0.0., Culture=neutral, PublicKeyToken=89845dc8080cc91 or one of its dependencies. this system cannot find the file specified.
我保证你在引用我已经加入Microsoft.ReportViewer.Winfroms 11.0.0.0
和复制本地=真正的
。
我该如何解决这个问题呢?
How can I solve this issue?
推荐答案
发现这个错误意味着你缺少 Microsoft.ReportViewer.PorcessingObjectMode.dll
11.0.0.0版本
。有一个解决办法:
Found out that this error means that you are missing Microsoft.ReportViewer.PorcessingObjectMode.dll
version 11.0.0.0
. There is one solution:
在你的 Windows 8的
机做如下:
-
打开DOS命令提示符(preSS START + R然后输入cmd并preSS ENTER)
Open dos command prompt (press START + R then type cmd and press ENTER)
键入 CD ..
,直到你的 C:\>
键入光盘Windows \组装\ GAC_MSIL \ Microsoft.ReportViewer.pro *
和preSS输入
Type cd ..
until you are on C:\ >
Type Cd windows\assembly\gac_msil\Microsoft.ReportViewer.pro*
and press enter
只需键入 CD 11 *
然后键入复制* C:\
在 .DLL
将被复制到您的 C
目录。
The .dll
will be copied to your C
directory.
这个文件简单地复制到你的程序文件
在 Windows XP计算机
到文件夹,你的应用程序安装完毕。
This file simply copy into your Program Files
on Windows XP machine
to folder where your application has been installed.
希望它可以帮助别人,因为我是stuct这个问题了很长一段时间。
Hope it helps to others as I was stuct with this issue for long time.
这篇关于的ReportViewer错误 - 该报告与QUOT的定义;是无效的。无法加载文件或程序集Microsoft.ReportViewer.ProcessingObjectMode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!