Skip to Content
0
Former Member
Sep 12, 2017 at 02:10 PM

Upgrade to SP 21 - Unable to cast to interface type ISCRReportSource

22631 Views

I installed SP 21 to provide Visual Studio 2017 compatibility. I followed the steps given in the wiki, removed existing Crystal Reports references, and then added them back in via References -> Extensions. All references now show as 13.0.3500.0.

Via C# I call ReportDocument.SetDataSource(IEnumerable). This throws the below exception:

Unable to cast COM object of type 'CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass' to interface type 'CrystalDecisions.ReportAppServer.Controllers.ISCRReportSource'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31E7715A-8AD0-4D1C-958E-C1BE0A6F2D0C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

Any thoughts on what a solution might be? I have not had any luck as of yet.