SAP Knowledge Base Article - Public

1204786 - "Keycode is missing or expired" error after RDC application deployment

Symptom

A Crystal Reports XI Release 2 application uses the Report Designer Component (RDC) to view reports. Specifically, the Crystal Reports ActiveX Designer Runtime Library (CRAXDRT.DLL / CRAXDDRT.DLL) is referenced in the project. After deploying the application to client machines, the following error occurs when application users attempt to view a report:
"Error -21470247891: This system does not have a valid license or keycode is missing or has expired. Please contact Business Objects to obtain a Report Design Control license."

Reproducing the Issue

Use the RDC XI r 2 merge modules to create a deployment project. Enter XI r 1 keycode into the CrystalReports11_5_RDC_License.msm file. Deploy the project. On the deployed system, the following registry entry will be missing:

HKLM\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\Keycodes\CR Dev

Cause

Crystal Reports XI Release 1 keycodes may be used for development and deployment of Crystal Reports XI Release 2 custom applications, but the keycode is not stored in the registry on deployment. The RDC is designed to throttle the print job limit at one concurrent print job when no valid keycode is stored in the registry. The error will occur when more than one concurrent print job is requested. Note that this error is most common when the Embeddable Designer is used as the Designer consumes one license and the report engine (craxddrt.dll, uses another license).

Resolution

Download the latest Service Pack for Crystal Reports XI release 2 from here:
https://smpdl.sap-ag.de/~sapidp/012002523100006255422008E/crxir2_sp4_inc.exe

Recompile your project with the above Service pack applied.
Download the latest RDC merge modules from here:
https://smpdl.sap-ag.de/~sapidp/012002523100009381702008E/crxir2sp4_rdc_mm.zip
Recreate your deployment project using the above merge modules.

Keywords

development rdc code application keycode error deploy merge module msm , KBA , BI-DEV , Business Intelligence Software Development Kits (SDKs) , Bug Filed

Product

SAP Crystal Reports XI ; SAP Crystal Reports XI R2