cancel
Showing results for 
Search instead for 
Did you mean: 

CRYSTAL REPORTS Runtime Error

huayuz
Explorer
0 Kudos

Hi, we got an error when running application in server:

[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. ]

Developing information:

OS: Windows server 2016 standard 64-bit;

IDE: VS 2019;

SDK: SAP Crystal Reports, version for Microsoft Visual Studio 13.0.32.4286;

Framework: .NET Framework 4.8

Production Information:

OS: Windows server 2016 standard 64-bit;

Runtime: SAP Crystal Reports runtime engine for .NET Framework(64-bit) 13.0.21.4286

DellSC
Active Contributor
0 Kudos

Because your question is about an application that uses the Crystal .NET SDK, I have changed your tag to "SAP Crystal Reports, version for Visual Studio".

The "SAP Crystal Reports tag is for questions about general report design and using the Crystal Reports desktop software.

-Dell

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Kudos

Did you install the SAP Crystal Report for VS runtime? Were you logged in with Administrator privileges when you did the install? There are a number of registry entries that are configured when you install the runtime. These are required for the SDK to work correctly. So, you have to run the runtime install, not just copy over the assemblies that you're referencing in the application. And you have to be logged in with Administrator privileges in order for the registry settings to be configured.

-Dell

huayuz
Explorer
0 Kudos

Thank you Dell, Yes, SAP Crystal Report for VS runtime has been installed. But not sure if it was installed with admin account, I will check on Monday. Is here any guide to install runtime? BTW, Is there any other reason that may cause this problem if the runtime was installed with admin account?

DellSC
Active Contributor
0 Kudos

As Don says below, and what I missed on my first look at your question, you need to use the same version of the SDK for BOTH development AND runtime in order for things to work correctly. You dev machine has SP32 and your runtime is SP21.

-Dell

Answers (1)

Answers (1)

You have to match your Developer PC build version to the app server:

Runtime: SAP Crystal Reports runtime engine for .NET Framework(64-bit) 13.0.21.4286

You are using SP 21 runtime, you can mix versions.