“CrystalDecisions.ReportSource.ReportSourceFactory”的类型初始值设定项引发了异常。 [英] The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception.
问题描述
我在c sharp使用visual studio 2008,操作系统windows 7的窗口是64位。
I am using visual studio 2008 in c sharp and the windows is 64 bit with operation system windows 7.
我打开水晶时出错report"'CrystalDecisions.ReportSource.ReportSourceFactory'的类型初始化程序引发了一个异常。"。
i am getting an error when i am going to open crystal report "The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception.".
其他项目正在使用crystal report 一个不是。我很困惑为什么。
other projects are working fine with crystal report the one is not. i am so confused why.
任何人都可以帮助我。
Can any one please help me.
推荐答案
嗨亲爱的,
解决方案资源管理器 - >右键单击项目 - >属性 - >构建 - >一般 - >平台目标 - > x86
Solution Explorer -> right click project -> properties -> Build -> General -> Platform target -> x86
这篇关于“CrystalDecisions.ReportSource.ReportSourceFactory”的类型初始值设定项引发了异常。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!