Solved

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

Posted on 2009-07-02
2
1,451 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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

777 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