Skip to Content

Error running vb .net application calling crystal reports

I created a vb .NET (VS 2017) application that allows running of crystal reports( Crystal 2016). The code to run the reports is as below. I have no problems running it on the developer machine however on he client machines that run this application which have the crystal runtime (CR for VS redist install 64 bit 13.0.20) installed on them. However, when the application goes to set the data source, I receive the following error after set data source to the dataset retrieved in application and nothing loads in the crystal viewer.


_rpt = New ReportDocument

_rpt.Load(reader.GetValue("Report Directory", GetType(String)) & MyReport.ReportFile)


CrystalViewer.ReportSource = _rpt

Error Message

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))

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 24, 2019 at 05:05 PM

    Upgrade to SP 25, it will have the latest support for the OS and DB clients you may be using.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.