水晶报告引起了例外 [英] crystal report threw an exception

查看:70
本文介绍了水晶报告引起了例外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从2天完成了我的应用程序,在客户端电脑上有一个问题,水晶报告我离开应用程序2天,当我打开我的电脑上的应用程序时,返回修复客户端电脑上的问题并测试它并尝试报告我得到了这个错误



'CrystalDecisions.CrystalReports.Engine.ReportDocument'的类型初始化程序引发了异常。



此错误发生在这部分公共CrystalReport1(){



}

这个问题发生在任何报告中

i finished my app from 2 days and there was a problem on the client pc with the crystal report i leave the app 2 days and return back to fix the problem on the client pc when i open the app on my pc on vs and test it and try to make a report i got that error

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.

this error happen in this part public CrystalReport1() {

}
this problem happen in any report

推荐答案

您必须在此PC中安装CrystalReport查看器,并且必须使用正确的版本。
You must install the CrystalReport viewer in this PC, and you must use the correct version.


如何找到该版本以及下载该版本的位置?
how to find the version and where to download that one?


这篇关于水晶报告引起了例外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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