SAP Knowledge Base Article - Public

2519523 - Crystal 2016 SP04 DLL's not being registered if installed after CR for VS SP 20 x86 runtime

Symptom

These 2 DLL's below are not registered after installing Crystal Reports 2016 SP04 on a PC with Crystal Reports for Visual Studio SP 20 32 bit MSI package is installed first.

  • C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\rptcontrollers.dll
  • C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\reportsourcebridge.dll  

This causes a hard error in our application.

Environment

  • Crystal Reports for Visual Studio SP 20
  • Windows 10
  • Crystal Reports Designer version 14.2.4.xxxx

Reproducing the Issue

  • Install Custom application using CR Runtime SP20 x86 MSI package
  • Install CR Designer 2016 SP4
  • Start Custom Application and it generates error

Symptom

  • Crystal Reports 2016 SP4 installation breaks Custom application based on CR Runtime SP20
  • reportsourcebridge.dll and rptcontrollers.dll are getting unregistered
  • Error pops up: Unable to cast COM object of type "CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass" to interface type...

Cause

It is a known issue with CR for VS SP 20 side-by-side installation and further work is under investigation by Development

Resolution

Resolved in SP 21

To download the udpate go here:

https://help.sap.com/docs/SUPPORT_CONTENT/crystalreports/3354091173.html

 Workaround: register two dlls from command:

c:\windows\syswow64>regsvr32 "C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\reportsourcebridge.dll"

c:\windows\syswow64>regsvr32 "C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\rptcontrollers.dll"

Keywords

Side by side, cr for vs, reportsourcebridge.dll, rptcontrollers.dll , KBA , BI-RA-CR-SDK , SDK related, including Java/.NET etc. , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio