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

Error using CRDB_XML

<font size="2"><p>Hello, </p><p>I am trying to distribute a program written in C++ that uses Crystal Reports XI. Everything works perfectly on my development machine, which has the full Crystal Reports XI developers edition installed. However when I try to run it on another machine that has the RDC Merge Modules installed (which are the ones I&#39;m guessing I need) it gives me an error when loading the report in to the CRViewer: "Failed to load database information." I have been researching this much and trying various things out for the past week or so, and I can not get it to work. I did notice however the CRDB_XML.DLL was not being installed so I manually copied it to the test machine and got a different error when trying to view the report: "Invalid Argument provided.". I am thinking the only way to get it to work is to install the entire Crystal Reports XI CD on the test machine, but this is not a valid fix!!! We must be able to distribute the CRAXDRT, CRVIEWER, and the CRDB_XML libraries. The Merge Modules are great if the had the CRDB_XML library in them, but from what I have seen they don&#39;t. Also I have tried installing the latest "BusinessObjects XI Common Critical Hot Fix" and tried to install the "DataDirect ODBC Drivers Installation" both of which didn&#39;t help at all. Please help me out, I have been working on this issue for way too long. Thanks for your time.</p></font>

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2007 at 04:50 AM

    After talking with the wonderful tech support they explained to meu00C2 that I needed to install Java(JVM) 2 Runtime Environment,u00C2 and copy some java lib files, and setup a java config file.u00C2 Below is their response, all of which DID WORK, I'm happy to say.u00C2 So I hope this will help someone in the future.

    I would suggest you to follow the below-given procedures in the deployment machine.

    1.u00C2 Install the Java(JVM) 2 Runtime Environment (it is essential that the Java Framework is 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

    2.u00C2" target="_blank">http://java.sun.com/j2se/1.4.2/download.html" target="_blank">http://java.sun.com/j2se/1.4.2/download.html">http://java.sun.com/j2se/1.4.2/download.html

    2.u00C2 Create a java folder inside the " C:\Program Files\Business Objects\Common\3.5u00E2u20AC

    3.u00C2 Create a folder called u00E2u20ACu0153libu00E2u20AC in the "C:\Program Files\Common Files\Business Objects\3.5\java"

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

    5.u00C2 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.

    6.u00C2 Copy crdb_xml.dll, crdb_xml_res_en, and all the files with u00E2u20ACu0153crdb_xml_res_xx from your development machine to the deployment machine(C:\Program Files\Common Files\Business Objects\3.5\bin).

    7.u00C2 Restart your machine and try accessing your web application. The reports will show up the data without any issue.

    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.