Crystal reports x64上的crystal报告初始化
我有一个在x86上正常工作的程序。此外,它可以在使用visual studio的系统上工作,即使在x64上也不会出错。但在没有visual studio的x64系统上,调用报告时会发生错误。消息异常为:Crystal reports x64上的crystal报告初始化,crystal-reports,64-bit,Crystal Reports,64 Bit,我有一个在x86上正常工作的程序。此外,它可以在使用visual studio的系统上工作,即使在x64上也不会出错。但在没有visual studio的x64系统上,调用报告时会发生错误。消息异常为: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. Source: CrystalDecisions.CrystalReports.Engine
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Source:
CrystalDecisions.CrystalReports.Engine
Stack Trace:
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
以及包含此说明的消息:
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
我的计划基于:
- .net框架4
- visual studio 2012
- 水晶报告13.0.2