Solved

The database DLL 'crdb_xml.dll' could not be loaded

Posted on 2009-07-02
2
1,446 Views
Last Modified: 2012-05-07
I am building an application in .NET 3.5 C# that makes use of an existing crystal report. The report uses an XML file for Sales Order. However, when I try to load the report in crystal report viewer in the development environment (as preview)  and during runtime I get the following exception
"The database DLL 'crdb_xml.dll' could not be loaded" I have searched for the solution but I could not find anything.

If I have to convert the report's data source from XML to ADO.NET or any other, is there a way that I can do that without rendering the fields on the report design useless?

0
Comment
Question by:EOH_DEV
2 Comments
 
LVL 5

Accepted Solution

by:
jgbreeden earned 500 total points
ID: 24765434
I believe if the table definitions are an exact match, you can change the datasource from any one source  to another at runtime.  We have found that with our reports that are based on xml data sets it was necessary to create a test form with the viewer that we could run in design mode in vs.net so we could test our dynamic sql statements.

In the crystal environment, I would have expected with xml data defs it would give you dummy data when you try to preview (random numbers that can make your report look pretty odd).  Maybe it needs that dll to generate the dummy data.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 24765970
Did you load the xml driver when you installed Crystal?  I don't think it loads by default.

mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now