初始化CrystalReport文档会导致严重的崩溃 [英] Initializing CrystalReport documents results in nasty crash

查看:112
本文介绍了初始化CrystalReport文档会导致严重的崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Crystal Reports有某种问题.每当我尝试初始化ReportDocument或填充ReportViewer时,都会出现以下异常:
System.TypeInitializationException:{"CrystalDecisions.CrystalReports.Engine.ReportDocument的类型初始值设定项"引发了异常."}

例如,以下代码行会产生此类异常:

Hi I have some kind of problem with Crystal Reports. Whenever I try to initialize a ReportDocument or fill ReportViewer I got following exception:
System.TypeInitializationException: {"The type initializer for ''CrystalDecisions.CrystalReports.Engine.ReportDocument'' threw an exception."}

For instance, this line of code produces such exception:

CrystalDecisions.CrystalReports.Engine.ReportDocument repDoc = new CrystalDecisions.CrystalReports.Engine.ReportDocument();



我已经重新安装了Crystal Reports,但没有结果.
奇怪的是,它在我们周围的每台其他计算机上都能正常工作:(.

我还能做什么?



I''ve reinstalled Crystal Reports but with no results.
It is strange that it works fine on every other computer we have around :( .

What else can I do?

推荐答案

我也遇到了同样的问题,并通过安装 ^ ]
I also faced same issue and solved by installing CRRedist2005_x86.msi[^]


这篇关于初始化CrystalReport文档会导致严重的崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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