SAP Knowledge Base Article - Public

1535811 - Error 1402 when installing Crystal Reports for Visual Studio 2010 runtime via the msi file

Symptom

  • Running CRRuntime_32bit_13_x.msi or CRRuntime_64bit_13_x.msivia Group Policy Objects produces the following error:

Error 1402. Could not open key: HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\\Crystal Reports. System error 87

  • Same error is produced when running the Crystal Reports for Visual Studio 2010 ClickOnce deployment

Environment

Crystal Reports for Visual Studios 2010.

Cause

  • This error is caused by double backslash characters in the registry table of the MSI
  • The issue has been identified and logged under Problem Report ID ADAPT01613182

Resolution

  1. Download Orca MSI editor from the Microsoft Developer Network (MSDN).
  2. Open the CRRuntime_32bit_13_x.msi file with the Orca editor. (or CRRuntime_64bit_13_x.msi)
  3. Find and click the Registry table.
  4. Right click and export the Registry Table.
  5. Open the Registry Table with any text editor.
  6. Do a find for all double backslash characters.
  7. Remove one backslash character where you find double backslash.
  8. Save the File.
  9. Open the CRRuntime_32bit_13_x.msi file again. ( (or CRRuntime_64bit_13_x.msi)
  10. Right click and drop Table Registry.
  11. Right click and choose Import Table.
  12. Import the table you exported and updated above.
  13. Save.

Keywords

cr4vs2010 2010 vs2010 crforvs 13 NET2010 deployment install GPO click once , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio