cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Report 2008 runtime is missing crdb_xml.dll

Former Member
0 Kudos

This DLL seems to be missing from the runtime MSI and the merge module?

Without this I am unable to utilise reports that have "XML and Web Services" connection type .

To clarify what I am doing:

I have created a report using "XML and Web Services" by specifying the xsd and xml file.

To run the report using different xml data sources, at runtime the app I have created changes the LogonProperties to specify the new required "Local XML File" and the "HTTP(S) Schema URL".

Accepted Solutions (1)

Accepted Solutions (1)

former_member208657
Active Contributor
0 Kudos

As Fritz mentioned the crdb_xml.dll driver is not included with the runtime deployment package intentionally. It is a Java runtime file and requires the JVM to run. We excluded this database driver because it would have made our installer much too large. We also felt that most customers using .NET would not want to deploy Java just to use this database connection method. Most use ADO.NET (XML) [crdb_adoplus.dll].

Here are some rough steps of what needed to be done to deploy the crdb_xml.dll file manually in Crystal Reports XI R1. The steps will be similar for XI R2 and Crystal Reports 2008.

- Install the Java (JVM) 2 Runtime Environment (this is essentially the Java Framework needed to launch the crdb_xml native driver 1.4.2 from the java sun web site at: http://java.sun.com/j2se/1.4.2/download.html.

- Create a java folder inside the C:\Program Files\Business Objects\Common\3.0.

- Copy over the Crconfig.xml (C:\Program Files\Common Files\Business Objects\3.0\java) file from the development machine to the deployed machine in at the following path C:\Program Files\Common Files\Business Objects\3.0\java path. Open the crconfig.xml this file in Notepad and search for the line <JavaDir>. If JRE is installed to C:\Program Files\Java\j2re1.4.2_12\bin then the value should be look like this <JavaDir> C:\Program Files\Java\j2re1.4.2_12\bin</JavaDir>.

- Create a folder called lib in the C:\Program Files\Common Files\Business Objects\3.0\java.

- Copy over the entire contents of the lib folder (especially the external folder) from the development machine to the newly created lib machine on the deployed machine. The point of this is to ensure that the crconfig.xml file contains all the files here which exist at the correct path which they now should because we copied over the lib and external directories.

- Copy crdb_xml.dll, crdb_xml_res_en, and all the files with "crdb_xml_res_xx from your development machine to the deployment machine (C:\Program Files\Common Files\Business Objects\3.0\bin).

- Restart your machine and try accessing your web application.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Their is possibility that the MSI are not Downloaded properly so crdb_xml.dll is missing.Try Downloading them from [HERE.|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]

Thanks,

Nikhil Dharme

fritzfeltus
Product and Topic Expert
Product and Topic Expert
0 Kudos

The CR .NET runtime does not include crdb_xml.dll. This driver requires the java runtime and has further file dependencies, so it must be deployed separately.

Former Member
0 Kudos

Hi Tang,

Try to download again merge module from [here|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm] or [here|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsruntimeforVisualStudio.NET]

you can also test with copying crdb_xml.dll from development machine to deployment machine.

Regards,

Shweta