Solved

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

Posted on 2009-07-02
2
1,436 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
Comment Utility
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
Comment Utility
Did you load the xml driver when you installed Crystal?  I don't think it loads by default.

mlmcc
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
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 …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 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

11 Experts available now in Live!

Get 1:1 Help Now