SAP Knowledge Base Article - Public

1636929 - Unable to install or launch Crystal Reports 2011 on a machine with CA Agent installed

Symptom

  • Installing Crystal Reports 2011 gives The Product keycode is not valid. INS00140 Error
  • After working around Invalid Keycode Crystal Reports 2011 designer will not start

Environment

  • Crystal Reports 2011
  • Computer Associates Unicenter DSM Agent

Reproducing the Issue

  1. Install Crystal Reports 2011 on a machine with CA DSM Agent installed
  2. Work around the Invalid Keycode option using standard workaround (KBA 1587982)
  3. Try to start Crystal Reports 2011 designer and notice it won't start

Cause

  • CA Unicenter DSM Agent installs cryptocme2.dll and updates environment variable R_SHLIB_LD_LIBRARY_PATH to point to it
  • Crystal Reports is incompatible with the version of cryptocme2.dll installed by CA Unicenter DSM Agent
  • Crystal Reports loads cryptocme2.dll from the location specified by R_SHLIB_LD_LIBRARY_PATH
  • The issue has been identified and logged under Problem Report ID ADAPT01580512
  • Both a workaround and a solution are provided in the Resolution

Resolution

Workaround

In order for Crystal Reports 2011 Install or Designer to run properly the R_SHLIB_LD_LIBRARY_PATH must be unset.

R_SHLIB_LD_LIBRARY_PATH cannot be unset permanently as this will break CA DSM Agent.

The workaround is to create a Windows command file that unsets R_SHLIB_LD_LIBRARY_PATH and launches the program

For the Crystal Reports designer do the following. A similar set of steps will work for the Install.

  1. Create a text file with a cmd extension such as cr2011.cmd
  2. Edit cr2011.cmd in a text editor and insert the following content (adjust as needed for the location of crw32.exe)
    • set R_SHLIB_LD_LIBRARY_PATH=
      cd "C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86"
      "C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crw32.exe"
  3. Double-click cr2011.cmd to launch Crystal Reports 2011 Designer

Solution

In response to Ticket 20561884 Computer Associates has recommended the following solution based on CA DSM Agent not being sensitive to the version of cryptocme2.dll

  1. Find the cryptocme2.dll pointed to by environment variable R_SHLIB_LD_LIBRARY_PATH and rename it to cryptocme2.ca
  2. Copy the cryptocme2.dll installed with Crystal Reports 2011 (C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86) to the same directory as cryptocme2.ca
  3. Now CA DSM Agent and Crystal Reports 2011 will use the same version of cryptocme2.dll installed with Crystal Reports 2011

 

 

Keywords

  • Crystal Reports 2011
  • Invalid Keycode
  • Cannot Start
  • Cannot Launch
  • Cannot Open
  • R_SHLIB_LD_LIBRARY_PATH
  • cryptocme2.dll
, KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 2011 ; SAP Crystal Reports 2011, feature pack 03

Attachments

cr2011.txt