rainforestnet / CrystalReportsNinja

A small Windows Console App that loads external Crystal Reports file, takes parameter inputs and export to various format or even print to printer
http://www.rainforestnet.com
93 stars 77 forks source link

Unable to cast COM object of type 'CrystalDecisions.ReportAppServer.C ontrollers.ReportSourceClass' to interface type 'CrystalDecisions.ReportAppServe r.Controllers.ISCRReportSource'. #61

Closed KatSamson-dev closed 3 years ago

KatSamson-dev commented 3 years ago

Exception: Unable to cast COM object of type 'CrystalDecisions.ReportAppServer.C ontrollers.ReportSourceClass' to interface type 'CrystalDecisions.ReportAppServe r.Controllers.ISCRReportSource'. This operation failed because the QueryInterfac e call on the COM component for the interface with IID '{98CDE168-C1BF-4179-BE4C -F2CFA7CB8398}' failed due to the following error: No such interface supported ( Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

Is there any guidance on the above issue? I am trying to integrate this into a legacy system.

KatSamson-dev commented 3 years ago

Issue is fixed by adding the config file to the same folder as the exe. I suggest maybe including that in the readme instructions