c# - 尝试在 ASP.NET 页面上显示 Crystal 报表时出错

标签 c# asp.net .net crystal-reports

当我尝试显示它时出现此错误

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.

这是我的第一个 ASP.NET 网络应用程序。我有一个大问题要显示 asp.net。当我尝试通过邮件发送 Crystal - Report 时出现此错误。

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.

有什么办法可以解决这个问题吗?谢谢。

最佳答案

这可能是因为您正在使用 x64 配置运行您的应用程序。

来自 this :

'转到您的应用程序项目,右键单击并选择“属性”

在构建选项卡上,找到平台目标组合框。它可能会说“任何 CPU”。将其更改为 x86,您的项目将仅针对 32 位进行编译,从而消除该问题。”

关于c# - 尝试在 ASP.NET 页面上显示 Crystal 报表时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25141786/

相关文章:

c# - ASP.NET MVC Entity Framework 延迟加载或 ViewModel?

c# - Entity Framework IdentityUser覆盖用户名不会保存在数据库中

c# - 如何使用 Linq Lambda 检索 XML?

c# - 将word文档转换为xml代码c#

c# - 计算玩家输赢百分比

c# - Bitmap 的 ColorPalette 有一个长度为 0 的数组作为条目

c# - Console.WriteLine ("text"+ 函数(参数));不起作用,但该指令分为两个 Console.Write 工作正常

c# - 模拟参数的属性更改 - 使用 Moq

asp.net - MVC 2 AntiForgeryToken - 为什么是对称加密 + IPrinciple?

c# - Azure SDK 2.2升级破坏了SDK 2.0解决方案