“CrystalDecisions.ReportSource.ReportSourceFactory”的类型初始值设定项引发了异常。 [英] The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception.

查看:119
本文介绍了“CrystalDecisions.ReportSource.ReportSourceFactory”的类型初始值设定项引发了异常。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在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屋!

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