1534393 - "Error 1904. Module C:\Program Files\SAP BusinessObjects\..\dtsagent.dll failed to register ..." when installing Crystal Reports for Visual Studio 2010 MSI runtime

SAP Knowledge Base Article - Public

1534393 - "Error 1904. Module C:\Program Files\SAP BusinessObjects\..\dtsagent.dll failed to register ..." when installing Crystal Reports for Visual Studio 2010 MSI runtime

Symptom

  • Deploying the Crystal Reports for Visual Studio 2010 runtime, CRRuntime_32bit_13_0.msi.
  • Error 1904. Module C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dtsagent.dll failed to register. HRESULT -1073741819. Contact your support personnel.
  • Other Crystal Reports dll's that may fail to register are:
    • commonobjectmodel.dll
    • ReportPromptEMF.dll
    • ReportSourceBridge.dll

error.jpg

Environment

  • Visual Studio 2010
  • Crystal Reports for Visual Studio 2010, RTM

Cause

  • An incorrect version of cryptocme2.dll is being picked up by the Crystal Reports installer.
  • A system environment path is pointing to c:\program files\CA\Shared Components\Etpki\lib\cryptocme2.dll
  • Crystal Reports is not able to use this dll.

Resolution

  1. Search your system for all instances of cryptocme2.dll.
  2. Rename cryptocme2.dll files you find to something like *.org
    1. Do NOT rename the cryptocme2.dll files you find the in the subdirectories of C:\Program Files (x86)\SAP BusinessObjects
  3. Install the Crystal Reports runtime (CRRuntime_32bit_13_0.msi).
  4. Rename cryptocme2.org files back to cryptocme2.dll.

The system environment variable “R_SHLIB_LD_LIBRARY_PATH” can not be overwritten and thus steps above must be applied.

Keywords

Crystal Reports 2010, cr4vs2010, cr4vs, VS .NET2010 , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio