客户端计算机中的Crystal报表错误 [英] Crystal report error in client machine

查看:122
本文介绍了客户端计算机中的Crystal报表错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我安装了Crystal报告版本14.1.1.1036和VS 2012.



我在开发机器中构建并运行了一个Windows应用程序。



它在开发人员机器上工作正常。但是它没有在客户端计算机上运行。



显示

System.TypeInitializationException:'CrystalDecisions.CrystalReports的类型初始值设定项。 Engine.ReportDocument'引发了异常。 ---> System.BadImageFormatException:无法加载文件或程序集CrystalDecisions.ReportAppServer.CommLayer,Version = 13.0.2000.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304或其依赖项之一。试图加载一个格式不正确的程序。

在CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()






在客户机中我没有安装Crystal报表运行时。我是否需要在客户端机器上安装?



任何身体帮助我,



谢谢,

Hi,

I have installed Crystal report Version 14.1.1.1036 and VS 2012.

I have build and run a Windows application in develop machine.

Its working fine in developer machine. But its not running in client machine.

Its showing
System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.BadImageFormatException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. An attempt was made to load a program with an incorrect format.
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()



In client machine I didnt install Crystal report runtime. Should I need to install in client machine?

any body help me,

Thanks,

推荐答案

您好b $ b查看此链接

http://wiki.scn.sap.com/wiki/pages/viewpage.action?original_fqdn=wiki.sdn.sap.com&pageId=56787567 [ ^ ]
Hi Check with this link
http://wiki.scn.sap.com/wiki/pages/viewpage.action?original_fqdn=wiki.sdn.sap.com&pageId=56787567[^]


是的,您需要在客户端计算机上安装适当的运行时间(32/64位)。
Yes, you need to install appropriate run time (32/64 bit) on the client machines.


只需在创建安装程序时添加crystal report先决条件,然后自动安装
Just add crystal report prerequisite at the time when you creating Setup, then its automatically install


这篇关于客户端计算机中的Crystal报表错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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