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

Posted on 2009-07-02
Medium Priority
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?

Question by:EOH_DEV

Accepted Solution

jgbreeden earned 1500 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.
LVL 101

Expert Comment

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


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
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…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
Suggested Courses

607 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