Crystal Reports / IIS - Runtime Error

I have an asp.NET 4.0 web application that is hosted on IIS 7.5 (Windows Server 2008 R2). The following packages are installed on the server for Crystal Reports:

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

I am using Visual Studio 2010 for publishing and should have all the necessary DLL files.

I have this error:

An error occurred while trying to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are not enough, or the Crystal Reports runtime is not installed correctly. Please install the Crystal Reports distribution prerequisite (CRRedist.msi) that contains the correct version of the Crystal Reports runtime (x86, x64, or Itanium). For more information, go to http://www.businessobjects.com/support . *

Description: An unhandled exception occurred during the execution of the current web request. Check the stack trace for more information about the error and where it appeared in the code.

Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error occurred while trying to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are not enough, or the Crystal Reports runtime is not installed correctly. Please install the Crystal Reports distribution prerequisite (CRRedist.msi) that contains the correct version of the Crystal Reports runtime (x86, x64, or Itanium). For more information, go to http://www.businessobjects.com/support . *

What should I do to resolve this error?

+4
source share
2 answers

This error probably occurs because you deployed to an x64 machine, and Crystal binaries are only 32-bit.

There's some suggestion on this MSDN post:

  • Crystal is not initialized using project build for x64.

Offer to convert your platform target (any processor, x86, x64) to x86 . It will probably be so.

Then there are two more suggestions:

  • J Fisher configures IIS and your application pool to run 32-bit applications. In particular, setting enable32BitAppOnWin64 and "Enable 32-bit applications on True"

  • 32-bit ODBC

+3
source

I think that if you install this working environment, it will work for us on our server

64-bit Crystal Reports

0
source

All Articles