cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CRYSTAL REPORTS Runtime Error

huayuz
Explorer
0 Likes
3,077

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

View Entire Topic
DellSC
Active Contributor
0 Likes

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 Likes

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 Likes

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