Hi,
Our application is using RPT files witch have data source of "Oracle Server".
When we run the application and preview the report, an error occurs that reads "failed to load database information".
(If we use an RPT file with its data source defined as "ADO.NET(XML)" or "ODBC(RDO)" instead of "Oracle Server",the application works well)
Does anyone know the way to solve the problem?
Environment info on the PC where our application is running
1. Windows 8, 8.1 x86/x64
2. .NET Famework4.0/4.5
3. Crystal Reports .NET runtime SP12
4. no Oracle Client
The problem can be reproduced by running the following codes.
---------------
ReportDocument rd = new ReportDocument();
rd.Load(<RPT file with Oracle Server as its data source>, CrystalDecisions.Shared.OpenReportMethod.OpenReportByDefault);
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXml(<xml file with schema info and data in it>);
rd.SetDataSource(ds);
crystalReportViewer1.ReportSource = rd;
crystalReportViewer1.Show();
---------------
Thanks in advance.
--Yuyang