1200907 - Error: "...occurred while attempting to load the Crystal Reports runtime..." when running a CR 2008 .NET application on a 64 bit OS

SAP Knowledge Base Article - Public

1200907 - Error: "...occurred while attempting to load the Crystal Reports runtime..." when running a CR 2008 .NET application on a 64 bit OS

Symptom

When running a Crystal Reports 2008 or earlier and VS.NET windows application on a 64 bit OS, the following error message appears:

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

Environment

  • Crystal Reports 2008

Cause

This error message appears because there are no 64 bit dlls for Crystal Reports 2008 or earlier, does not include CR Basic include with VS 2008 or ealier versions.

Resolution

When compiling the application in Visual Studio .NET 2008 you will need to force it to 32 bit mode. You can do this by right-clicking the project name in the Solution Explorer and select Properties.

VB.NET

Click Compile, then Advanced Compile Options.  For the Target CPU drop down box, change it from "AnyCPU" to "x86" then click OK.

C#.NET

Click Build and change the Platform Target option from "Any CPU" to "x86".

You should then be able to run the application on a 64 bit OS without error.

See Also

Crystal Reports Support of 64-bit Operating Systems

Keywords

NET DOTNET .NET 64 error Crystal Reports runtime , 4213356 11.5 12.0 10.5 CRNET cr.net 64bit Windows 7 8 XP 2003 2008 , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports, developer version for Microsoft Visual Studio