Skip to Content
Feb 20, 2020 at 08:51 PM

Failed to load database information - on exporting to disk


Hi friends,

I´m facing an error in my application that already have consumed two entire days of work. I have a Crystal Report that uses an Xml + XSD as datasource. In runtime, I just replace de Xml and run the report as shown in the code below.

It used to work perfectly. But suddenly, after re-compiling my code it just stopped and I´m just unable to discover why. Could any of you help me?

If i get inside Crystal Reports and open my report, I´m still able to "verify the database" and refresh the data without any problem. But, using the code, the exception is always raised:

Failed to load database information

The code used is like follows.

ReportDocument report = new ReportDocument();


report.ExportToDisk(ExportFormatType.PortableDocFormat, FullPathDestinoPDF);

Hope someone can help me.

Best Regards

André Macowski