Windows 7上的Crystal Reports Runtime for VS引发错误
||
在我的开发计算机或Windows XP测试计算机上,它似乎运行良好,但是在Windows 7测试计算机上却遇到了问题。
之后,我得到一个正常的崩溃错误:
************** Exception Text **************
System.InvalidOperationException: An error occurred creating the form. See
Exception.InnerException for details. The error is: The type initializer for
\'CrystalDecisions.CrystalReports.Engine.ReportDocument\' threw an exception. --->
System.TypeInitializationException: The type initializer for
\'CrystalDecisions.CrystalReports.Engine.ReportDocument\' threw an exception. --->
CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: 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.
at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
--- End of inner exception stack trace ---
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
at Processing.LogTag..ctor()
at Processing.frmPrint.InitializeComponent()
at Processing.frmPrint..ctor()
--- End of inner exception stack trace ---
他们的网站当然是寻找任何东西的噩梦...
注意:它是Windows 7 64位,但是我已经在32位模式下运行该程序。
更新:
因此,我发现Crystal报表存在一个问题,即x64版本没有任何初始化程序,因此尝试在程序中进行初始化会导致错误。
我已验证如果卸载x64版本并安装x86 32位版本,则该程序可以正常运行。我已经读到有些人仅以32位模式运行该程序就成功了,但是由于某种原因对我不起作用。
我将问题悬而未决,希望有人能找到如何初始化64位版本的方法,因为那是从单击一次设置中自动安装的内容。
没有找到相关结果
已邀请:
4 个回复
铰齐插
羔磺
稼悸
荤碗