cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to Load database information - Crystal report with XML as datasource

Former Member
0 Kudos

Hello Friends:

I am getting the attached error when i try to load the Crystal Report with XML as data source.

I have designed the crystal report with the sample XML provided with XSD schema (PFA I have attached the XML and XSD). It is working as expected on design time. But it is failing when I load it from C# code.

Note: I have referred the following DLLs of version 13.0.2000.0 in my sample application.

CrystalDecisions.CrystalReports.Design.dll

CrystalDecisions.CrystalReports.Engine.dll

Please let me know what should be done in order to resolve this.

Thank you!

View Entire Topic
former_member183750
Active Contributor
0 Kudos

All I know is that you are using 'SAP Crystal Reports, Developer Version for Visual Studio .NET". No idea what service pack or what version of .NET...

So. make sure you are on SP 9:

Search for KBA 1525432 (search box is in top right corner) and follow the instructions there.

Remove your reference to CrystalDecisions.CrystalReports.Design.dll

Add the following references:

CrystalDecisions.Shared

CrystalDecisions.ReportSource

CrystalDecisions.Web (if web app)

CrystalDecisions.Windows (if win app)

I'd also recommend commenting out the export code for now; one step at a time. Get it to work in the viewer, then move on... No Big Bangs

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter