Crystal Report - Failed to open report with Oracle Database

167 Views Asked by At

I am getting below error when reportDocument.SetDataSource(dt) called.

System.Exception: Load report failed. ---> System.Runtime.InteropServices.COMException (0x800003E5): Failed to open report.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

Workflow:

I am using ReportDocument object to export the excel through RPT file. Recently, I have upgraded crystal report made in VS2008 into VS2017. All other rpt reports are working fine except one. When I run using VS 2008 code, it is working fine but in VS 2017 it is giving error.

Please anybody help on this?

0

There are 0 best solutions below