Skip to Content
author's profile photo Former Member
Former Member

Crystal Report 2008 runtime is missing crdb_xml.dll

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".

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Jan 15, 2009 at 12:31 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2009 at 08:46 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 13, 2009 at 11:12 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2009 at 11:06 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.