水晶报表/ IIS - 运行时错误 [英] Crystal Reports / IIS - Runtime Error

查看:202
本文介绍了水晶报表/ IIS - 运行时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在IIS 7.5(Windows Server 2008 R2)上托管的ASP.NET 4.0 Web应用程序。服务器为Crystal Reports安装了以下软件包:

I have an asp.NET 4.0 Web Application which is Hosted on IIS 7.5 (Windows Server 2008 R2). The server has the following packages installed for Crystal Reports:

SAP Crystal Reports,Visual Studio 2010版本 - 标准版
SAP Crystal Reports运行时引擎4(64位)

SAP Crystal Reports, version for Visual Studio 2010 - Standard SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit)

我使用Visual Studio 2010进行发布,并且应该具有所有必要的.dll文件。

I am using Visual Studio 2010 for Publishing, and should have all the necessary .dll files.

我遇到此错误:

尝试加载Crystal Reports运行时时发生错误。 Crystal Reports注册表项权限不足,或Crystal Reports运行时未正确安装。请安装包含Crystal Reports运行时(x86,x64或Itanium)正确版本所需的相应Crystal Reports可再发行组件(CRRedist .msi)。有关详情,请访问 http://www.businessobjects.com/support 。*

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.*

说明: 在执行当前Web请求期间发生未处理的异常。请检查堆栈跟踪以获取有关错误及其在代码中的位置的详细信息。

异常详细信息 > CrystalDecisions.CrystalReports.Engine.LoadSaveReportException:尝试加载Crystal Reports运行时时发生错误。 Crystal Reports注册表项权限不足,或Crystal Reports运行时未正确安装。请安装包含Crystal Reports运行时(x86,x64或Itanium)正确版本所需的相应Crystal Reports可再发行组件(CRRedist .msi)。有关详情,请访问 http://www.businessobjects.com/support 。*

Exception Details: 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.*

我该如何解决这个错误?

What should I do to solve this error?

推荐答案

您已部署到x64计算机,并且Crystal二进制文件只有32位。

Likely this error occurs because you've deployed to an x64 machine, and the Crystal binaries are 32-bit only.

MSDN论坛帖子


  • Crystal不使用x64的项目构建初始化。

建议将项目的平台目标(任何CPU,x86,x64)转换为 x86 。很可能会是这样。

Suggest converting your project's Platform Target (Any CPU, x86, x64) to x86. Likely this will be it.

还有2个建议:


  • J Fischer配置IIS和您的应用程序池以运行32位应用程序的步骤。具体来说,调整是 enable32BitAppOnWin64 和'启用32位应用程序为True'

  • J Fischer's steps on configuring IIS and your app pool to run 32 bit applications. Specifically the tweak is enable32BitAppOnWin64 and 'Enable 32-Bit Applications to True'

32位ODBC

这篇关于水晶报表/ IIS - 运行时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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