CR XI R2 JRC: Error loading database connector (driverImpl.DriverLoader)

Hello!
I developed a report with CR XI R2 SP6 Designer that uses native XML.  Everything in the report seems to be fine...in the preview of my report, all data looks correct.
When trying to review the report with the JRC thick client ReportViewerBean, I get the following error just as the report is about to be displayed:
Error loading database connector.  The class 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader' could not be accessed.
I went through about ten or so previous threads about this error, but none of the solutions are working for me.
I'm using NetBeans to develop and debug, and I have CrystalDatabaseConnector.jar added to my project libraries, and I can view the class com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader in the NetBeans object browser.
Some of the posts I viewed mention a different jar for this DriveLoader class.  Is there something wrong with the version of CrystalDatabaseConnector.jar that I have?  Do I need an updated jar?  Does this jar rely on another jar that might be missing? I've been through the jar list in the CR XI R2 JRC deployment guide pdf, but I just don't see that I'm missing anything.
Thanks for any suggestions!
Edited by: Joseph Huber on Mar 9, 2010 2:00 AM

Some stuff from the Java Console...
- Formula {@DesiredEFT} compiled.
- Formula {@DesiredLFT} compiled.
- Formula {@DesiredGPM} compiled.
- Done loading report.
- Time to load report T:\USGD_Share\PCVOLS1\source\java\CRViewerTest\crDxProposal1.rpt took 160346 ms
Crystal Report Viewer 2.1.21.2
java.vendor = Sun Microsystems Inc.
java.version = 1.6.0_16
os.name = Windows XP
os.version = 5.1
os.arch = x86
- JRCAgent1 received request: queryServerCapabilitiesRequest
- Export Supervisor: loading available exporters
- Export Supervisor: found 6exporters
- Export Supervisor: loading exporter com.crystaldecisions.reports.exporters.format.page.pdf.PDFExporter
- Export Supervisor: loading exporter com.crystaldecisions.reports.exporters.format.page.rtf.RTFExporter
- Export Supervisor: loading exporter com.crystaldecisions.reports.exporters.format.report.crystalreports.CRExporter
- Export Supervisor: loading exporter com.crystaldecisions.reports.exporters.format.record.sepv.SEPVExporter
- Export Supervisor: loading exporter com.crystaldecisions.reports.exporters.destination.disk.DiskExporter
- Export Supervisor: loading exporter daviss.jeff.cellexporter.CellExporter
- Export Supervisor: fail to load exporter (stack trace follows).  This warning is only a problem if the exporter that failed to load is supported in a given project.daviss.jeff.cellexporter.CellExporter
java.lang.ClassNotFoundException: daviss.jeff.cellexporter.CellExporter
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at com.crystaldecisions.reports.formatter.a.c.char(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.case(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.for(Unknown Source)
        at com.businessobjects.reports.sdk.b.i.do(Unknown Source)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.getServerCapabilities(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getServerCapabilities(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getServerCapabilities(Unknown Source)
        at com.businessobjects.crystalreports.viewer.core.rs.a.t(Unknown Source)
        at com.businessobjects.crystalreports.viewer.core.rs.a.<init>(Unknown Source)
        at com.businessobjects.crystalreports.viewer.core.rs.RSReportChannelFactory.newReportChannel(Unknown Source)
        at com.businessobjects.crystalreports.viewer.core.bi.a(Unknown Source)
        at com.businessobjects.crystalreports.viewer.core.bi.a(Unknown Source)
        at com.crystaldecisions.ReportViewer.ReportViewer$1.a(Unknown Source)
        at com.businessobjects.crystalreports.viewer.applet.h.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)
- JRCAgent1 received request: fetchReportPageRequest
- JRCAgent1 attempting to acquire license
- JRCAgent1 successfully acquired license
- JRCAgent1 detected an exception: Error loading database connector.  The class 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader' could not be accessed.
        at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
        at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
        at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
        at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
        at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source)
        at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
        at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)
- JRCAgent1 releasing license
Error loading database connector.  The class 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader' could not be accessed.

Similar Messages

  • Unable to load database connector - using JRC w/report connecting to Oracle

    A simple Java program was created to test a Crystal Report using JRC. The Java program is a thick-client Swing desktop application (modified from an example of crxi_r2_migrating_rdc_to_jrc.pdf). The program failed to execute the report with the following error:
    Unable to load database connector u2018com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'
    It might be something simple to correct the problem, but I am not able to find related answers in the documentation and from the forum.
    CR version is XI R2. The Java program was compiled and run using jdk1.4.2_13. Oracle is 10.2.
    Do I have to use JDBC? or the CR Oracle driver will do? What needs to be setup? If I use JDBC, what do I need to setup (I tried to following the links in the forums or other documentation, but most of the links to http://support.businessobjects.com/.... are broken - i.e. re-route to the SAP support page but not directly linked to the articles)
    When the report JRCTestReport.rpt was saved with the option "Save Data With Report", it works fine. So the problem is only with Oracle database driver, the other jars are fine.
    In the report JRCTestReport.rpt the database properties are:
           DatabaseDLL             crdb_oralce.dll
           Password
           Server                        myTestDB
           Trusted_Connection    False
           User ID                      MyUser
    The crdb_oracle.dll is located at:
    C:\Program Files\Business Objects\Common\3.5\bin
    Files are stored in the following tree structure:
    <Testing Folder>
         JRCTest.java
         JRCTest.class
         WEB-INF
                   lib
                        All required JRC jars and CRConfig.xml
         Reports
                   JRCTestReport.rpt
    Java source code JRCTest.java
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    public class JRCTest
         private static void createAndShowGUI()
              try
                   //Make sure we have nice window decorations.
                   JFrame.setDefaultLookAndFeelDecorated(false);
                   //Create and set up the window.
                   JFrame frame = new JFrame("JRCTest");
                   frame.setTitle("JRCTest");
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   ReportViewerBean viewer = new ReportViewerBean();
                                      System.out.println("ReportViewerBean.init");
                   viewer.init(new String[0], null, null, null);
                                      System.out.println("new ReportClientDocument");
                   ReportClientDocument rpt = new ReportClientDocument();
                                      try
                                              System.out.println("Openning Report...");
                                              rpt.open("JRCTestReport.rpt", 0);
                                      catch (Exception ex)
                                              System.out.println("Failed to open report");
                                              System.out.println(ex.toString());
                                              return;
                                      try
                                              System.out.println("logon...");
                                              rpt.getDatabaseController().logon("myUser", "myPass");
                                      catch (Exception ex)
                                              System.out.println("Failed to logon");
                                              System.out.println(ex.toString());
                                              return;
                                      System.out.println("ReportClientDocument.getReportSource");
                   IReportSource rptSource = rpt.getReportSource();
                   viewer.setReportSource(rptSource);
                                                    System.out.println("viewer.setReportSource");
                   frame.getContentPane().add
                        (viewer, BorderLayout.CENTER);
                   frame.setSize(700, 500);
                   frame.setVisible(true);
                   viewer.start();
              catch (Exception exception)
                   System.out.println(exception.toString());
         public static void main(String[] args)
              javax.swing.SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        createAndShowGUI();
    Execution result:
    C:\tmp\CrystalJavaTest>java -classpath .;./WEB-INF/lib;./WEB-INF/lib/ReportViewe
    r.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concu
    rrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WE
    B-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/
    lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/Cry
    stalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalR
    eportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WE
    B-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;
    ./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.j
    ar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis
    .jar JRCTest
    Starting
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    logon...
    ReportClientDocument.getReportSource
    viewer.setReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.
    crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwRepo
    rtSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unkno
    wn Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unkno
    wn Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage
    (Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource
    .getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReport
    Source.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driv
    erImpl.DriverLoader'.

    After I switched the report to use JDBC, I am still getting the same error.
    Machine has multiple jdk, oracle 10g, Oracle11g client installed though. So I need to set my path to use the jdk from Crystal Report and Oracle 10g.
    The program was compiled and ran with the following path and CLASSPATH:
    set path="C:\Program Files\Business Objects\j2sdk1.4.2_08\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin\client";c:\oracle\ora102\bin
    set CLASSPATH=.;./WEB-INF/lib;./WEB-INF/lib/ReportViewer.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concurrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WEB-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/CrystalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalReportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WEB-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.jar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis.jar;C:/oracle/ora102/jdbc/lib/ojdbc14.jar
    I modified my java testing program to display more info:
    Modified program:
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    import com.crystaldecisions.sdk.occa.report.exportoptions.*;
    import com.crystaldecisions.sdk.occa.report.data.*;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    public class JRCTest2
       private static void createAndShowGUI()
          try
             System.out.println("Starting");
             //Make sure we have nice window decorations.
             JFrame.setDefaultLookAndFeelDecorated(false);
             //Create and set up the window.
             JFrame frame = new JFrame("JRCTest2");
             frame.setTitle("Testing 1, 2, 3");
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             System.out.println("new ReportViewerBean");
             ReportViewerBean viewer = new ReportViewerBean();
             System.out.println("ReportViewerBean.init");
             viewer.init(new String[0], null, null, null);
             System.out.println("new ReportClientDocument");
             ReportClientDocument rpt = new ReportClientDocument();
             try
                 System.out.println("Openning Report...");
                 rpt.open("JRCTestReport.rpt", 0);
             catch (Exception ex)
                System.out.println("Failed to open report");
                System.out.println(ex.toString());
                return;
             try
                // try logon here to see if any exceptions
                rpt.getDatabaseController().logon("myUser", "myPass");
             catch (Exception ex)
                System.out.println("Failed to logon");
                System.out.println(ex.toString());
                return;
             IDatabase idb = rpt.getDatabaseController().getDatabase();
             Tables dtb = idb.getTables();
             IConnectionInfo conInfo = dtb.getTable(0).getConnectionInfo();
             PropertyBag attrs = conInfo.getAttributes();
             conInfo.setPassword("myPass");
             conInfo.setUserName("myUser");
             IStrings s = attrs.getPropertyIDs();
             for (int i=0; i < s.size(); i++)
                System.out.println(s.getString(i));
                System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             conInfo.setAttributes(attrs);
             attrs = conInfo.getAttributes();
             s = attrs.getPropertyIDs();
             // Print property again after setting attributes
             for (int i=0; i < s.size(); i++)
               System.out.println(s.getString(i));
               System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             System.out.println("ReportClientDocument.getReportSource");
             IReportSource rptSource = rpt.getReportSource();
             viewer.setReportSource(rptSource);
             frame.getContentPane().add
         (viewer, BorderLayout.CENTER);
             frame.setSize(700, 500);
             frame.setVisible(true);
             viewer.start();
          catch (Exception exception)
             System.out.println(exception.toString());
       public static void main(String[] args)
          System.out.println("main");
          javax.swing.SwingUtilities.invokeLater(new Runnable()
             public void run()
                createAndShowGUI();
    Running result:
    C:\tmp\CrystalJavaTest>java JRCTest2
    main
    Starting
    new ReportViewerBean
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    ReportClientDocument.getReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
    Also got similar error when the path and classpath was switched to Oracle 11g.
    Is there a way to tell which file that it failed to load?
    Thanks
    Kin

  • Unable to load database connector

    Hi. I am trying to get a report running through the JRC in Crystal Reports XI. Whenever I try to run the report, it pulls up the viewer, but then gets the following message:
    "Unable to load database Connector"
    'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'
    I was under the impression that I didn't need to set any JDBC parameters because it would pull them from the report. Is there some sort of configuration I missed?
    Thanks for any help.

    hello,
    I have got the same problem.
    Java don't find the class DriverLoader in any jar.
    I have found it on the CrystalDatabaseConnector.jar (an old jar) but that's makes some problems of compatibility when I use it.
    I have to add CrystalQueryEngine.jar (another old version jar) to work with it and i've got an java.lang.IncompatibleClassChangeError: Implementing class
    Best Regard

  • Log4J-Error + Unexpected Database-Connector-Error

    Hello!
    I am trying to integrate a Report into an existing Java Eclipse-Project usind Crystal Reports for Eclipse.
    To do this I am modifying the example program which comes together with the installation. I am trying to pass the data to the report directly via a POJO using the call
    CRJavaHelper.passPOJO(...)
    Now, when I try to open the report I get the following error:
    log4j:WARN No appenders could be found for logger (com.businessobjects.reports.sdk.JRCCommunicationAdapter).
    log4j:WARN Please initialize the log4j system properly.
    Unerwarteter Datenbank-Connector-Fehler
    (The last line would be "Unexpected Database-Connector-Error" in english.)
    What am I doing wrong? I included log4j.jar into the build path of the project.
    Thanx for your help!
    UPDATE: Most errors are sitting 50cm in front of the screen. Dumb error on my side. Fixed it and it's working.
    Edited by: QSOTech on May 18, 2009 1:33 PM

    Error is fixed.
    I created the report in Eclipse and used a Plain Old Java Object (POJO) as datasource. No other Database.
    The problem was that the Object wasn't instanciated properly.

  • Error load Database toolkit

    The program can open properly on other machine.
    I installed both 8.6 and 2009 on this machine, and the database toolkit is installed under the folder of 2009.
    When I open the vi, it give error as attached.
    Any suggestion?
    Attachments:
    ss.jpg ‏53 KB

    Seems that there is something corrupt at the frontpanel of this VI.
    What version of Database TK are you using?
    Did you allready try to reinstall?
    Christian

  • No database connector has been specified - Error code:-2147467259 error

    Hi,
    Iu2019m trying to populate a report and preview it using JRC. Iu2019m using the JRC jar files versions from CR XI R2 SP4. I have created a report using locale data source xml file and scheme file. I can preview the report from Crystal Report Designer without any probelm. When I try to preview the same layout using my Java application I get the error " No database connector has been specified.---- Error code:-2147467259 Error code name:failed " when I try to set the  table location (reportClientDoc.getDatabaseController().setTableLocation(tables.getTable(i),table);) I even get this when I try to set the date source (reportClientDoc.getDatabaseController().setDataSource(xmlDataSet, " FND_SESSION_REP/FNDSESSION", "FND_SESSION_REP/FNDSESSION");) I tried shifting the order of setDataSource and setTableLocation but that didnu2019t help as well.
    Can you please help me?
    Thanks you in advance.
    Regards,
    Chanaka
    Code to set connection info
    public void setDBLogonXML(String xmlFilePath, String xsdFilePath)
          final String SERVER_TYPE = "XML";
          final String CONVERT_MULTIVALUE_TO_TABLE="false";
          final String DATABASE_DLL = "crdb_xml.dll";
          try {
             Tables tables = reportClientDoc.getDatabaseController().getDatabase().getTables();
             //Set the datasource for all main report tables.
             for (int i = 0; i < tables.size(); i++) {
                ITable table = tables.getTable(i);
                //Keep existing name and alias.
                table.setName(table.getName());
                table.setQualifiedName(table.getQualifiedName());
                table.setAlias(table.getAlias());
                //Change connection information properties.
                IConnectionInfo connectionInfo = table.getConnectionInfo();
                //Set new table connection property attributes.
                PropertyBag propertyBag = new PropertyBag();
                propertyBag.put("Server Type", SERVER_TYPE);
                propertyBag.put("Database DLL",DATABASE_DLL );
                propertyBag.put("Local XML File",xmlFilePath);
                propertyBag.put("Local Schema File",xsdFilePath);
                String conString = "Local XML File=s("+xmlFilePath+");Local Schema File=s("+xsdFilePath+")";
                propertyBag.put("Connection String",conString);
                connectionInfo.setAttributes(propertyBag);
                table.setConnectionInfo(connectionInfo);
                //Update old table in the report with the new table.
                reportClientDoc.getDatabaseController().setTableLocation(tables.getTable(i),table);
                catch(ReportSDKException ex) {     
                   System.out.println(ex);
              catch(Exception ex) {
                   System.out.println(ex);               
    Main programu2026..
    setDBLogonXML("D:\\Reports\\Current Sessions.xml","D:\\Reports\\FndSessionRep.xsd");          
             xmlDataSet = new XMLDataSet(new ByteArray(xmlFile), new ByteArray(xsdFile));
             reportClientDoc.getDatabaseController().setDataSource(xmlDataSet, "FND_SESSION_REP/FNDSESSION", "FND_SESSION_REP/FNDSESSION");
    Error Stack
    - JRCAgent1 detected an exception: No database connector has been specified.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.z.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ak.if(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ad.int(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.bk.for(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.v.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.v.if(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(Unknown Source)
            at com.crystaldecisions.reports.sdk.DatabaseController.setTableLocation(Unknown Source)
            at jrc_xml_test_app_01.testDlg.setDBLogonXML(testDlg.java:378)
            at jrc_xml_test_app_01.testDlg.jButton3ActionPerformed(testDlg.java:117)
            at jrc_xml_test_app_01.testDlg.access$200(testDlg.java:23)
            at jrc_xml_test_app_01.testDlg$3.actionPerformed(testDlg.java:67)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
            at java.awt.Component.processMouseEvent(Component.java:5501)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
            at java.awt.Component.processEvent(Component.java:5266)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3968)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.Window.dispatchEventImpl(Window.java:1778)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
            at java.awt.Dialog$1.run(Dialog.java:525)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: No database connector has been specified.---- Error code:-2147467259 Error code name:failed
    - JRCAgent1 received request: setDataSourceRequest
    - command SETUP: Create Data Connection
    - command PERFORM: Create Data Connection
    - -- command is undoable -> purge redo stack
    - command SETUP: Set Data Connection Property
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: No database connector has been specified.---- Error code:-2147467259 Error code name:failed
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
    - command PERFORM: Set Data Connection Property
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
    - -- command is NOT UNDOABLE -> purge undo stack
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    - --- Purging command Create Data Connection
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
    - command SETUP: Set Data Connection Property
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
    - command PERFORM: Set Data Connection Property
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
    - JRCAgent1 detected an exception: No database connector has been specified.
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at jrc_xml_test_app_01.testDlg.jButton3ActionPerformed(testDlg.java:121)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at jrc_xml_test_app_01.testDlg.access$200(testDlg.java:23)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
            at jrc_xml_test_app_01.testDlg$3.actionPerformed(testDlg.java:67)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
            at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source)
            at jrc_xml_test_app_01.testDlg.jButton3ActionPerformed(testDlg.java:121)
            at jrc_xml_test_app_01.testDlg.access$200(testDlg.java:23)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
            at java.awt.Component.processMouseEvent(Component.java:5501)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
            at java.awt.Component.processEvent(Component.java:5266)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3968)
            at jrc_xml_test_app_01.testDlg$3.actionPerformed(testDlg.java:67)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
            at java.awt.Component.processMouseEvent(Component.java:5501)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Component.processEvent(Component.java:5266)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.Component.dispatchEventImpl(Component.java:3968)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.Window.dispatchEventImpl(Window.java:1778)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.Window.dispatchEventImpl(Window.java:1778)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.Dialog$1.run(Dialog.java:525)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.Dialog$1.run(Dialog.java:525)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    No database connector has been specified.
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Post Author: ililal
    CA Forum: Data Connectivity and SQL
    I spoke directly with Business Objects. They said,"Sun Application Server 8.2 is not supported."

  • The database connector "Crdb_p2bpfx.dll" could not be loaded

    Hello,
    I received a new laptop, and now my reports no longer work.  I get the error "The database connector "Crdb_p2bpfx.dll" could not be loaded" then several others that follow.  I have ODBC connections setup that test successfully and I connect to the database via other means.  I am using Crystal Reports Professional  version 11.5.12.1838 on Windows 7. I have seen a few other posts regarding this file, but nothing that seemed to address my particular situation.  Any help would be greatly appreciated, Thank you.

    No references. Only from the DB driver name it tells me you are using a report that was originally created off that Third Party DB driver. How to get around it is something we don't have any details on nor can we. Search using Google, it may tell you something..
    After searching I see it is the DataFlex Driver: http://www.pfxcorp.com/faqcrystal.htm
    PFXcrystal FAQ
    How can Crystal Reports 9, 10, XI, XI R2 and 2008 work with PFXplus data?
    Crystal Reports can access Powerflex database directly, connecting via PFXcrystal; or through ODBC, connecting via PFXodbc.
    Contact DataFlex for assistance... They were an OEM Partner or had the source code. So somewhere you got those reports from their product and or package...
    Don
    Edited by: Don Williams on Jan 16, 2012 1:54 PM

  • Intermittent Unknown Database Connector Error: "Object reference"

    Don't know if I'm posting to the right forum.  Please redirect me if this post belongs elsewhere.
    We use a .NET application by SunGard (Advance Web).  We have a whole bunch of Crystal reports we've deployed through this application, and they all work. . .most of the time.
    We occasionally, however, find that ALL our Crystal reports return this error:
    Unknown Database Connector Error Error in File C:\WINDOWS\TEMP\Report1003 {7B4DBA4D-3EA7-4545-83DB-F5A56AE945FF}.rpt: Unknown Database Connector Error
    CrystalReportViewer - CrystalReportViewer1
    Error: Object reference not set to an instance of an object.
    If we reboot the server, the reports all work again.  But sooner or later they start to fail w/ the same error message.
    We have Crystal Reports 11.5.8.826 installed on the server. 
    The network service account has full read/write access to its temp directory (C:\Windows\TEMP).
    The reports have never failed when we've used this application on a different server, so we're wondering if there's something amiss with the server.
    Anybody have an idea of what's happening here?

    Sorry. My mistake. That note wasn't tagged correctly so it didn't show up on the public side of the SAP Note system. I've fixed the tag but it will still take a day or two for it to replicate to the other system. I've pasted the contents of the note below.
    Symptom
    Error: "Unknown Database Connector Error Failed to retrieve data from the database"
    Error: "Unknown Database Connector Error"
    Failed to change the Table to CommandTable using RAS SDK
    Reproducing the Issue
    There are lots of reports designed with regular tables.
    A custom RAS SDK application is developed to change the reports from regular table to CommandTable
            rd = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            string rptPath = Server.MapPath("./axmr310_0_std.rpt");
            rd.Load(rptPath);
            DatabaseController databaseController = rd.ReportClientDocument.DatabaseController;
            ConnectionInfos connectionInfos = databaseController.GetConnectionInfos(null);
            ConnectionInfo oldConnectionInfo = connectionInfos[0];
            ConnectionInfo newConnectionInfo = CreateConnectionInfo();
            databaseController.ReplaceConnection(oldConnectionInfo, newConnectionInfo, null,CrDBOptionsEnum.crDBOptionUseDefault);
            ISCRTable oldTable = (ISCRTable)databaseController.Database.Tables[0];
            CommandTable newTable = new CommandTable();
            newTable.Alias = "Command";
            newTable.Name = "Command";
            newTable.QualifiedName = "Command";
            newTable.ConnectionInfo = newConnectionInfo;
            newTable.CommandText = "SELECT * FROM ds_report.axmr310_0939_12";
            databaseController.SetTableLocation(oldTable, newTable);
            CrystalReportViewer1.ReportSource = rd;
    Most of reports can be successfully changed and viewed, however the error occurs with somes of the reports.
    BusinessObjects Enterprise XI 3.*
    Crystal Reports 2008
    Cause
    "Verify on First Refresh" option is not selected for those unworking reports.
    Resolution
    Workaround 1: Check "Verify on First Refresh" option for the report.
    Open the report in Crystal Reports Designer
    Go to menu File -> Report Options
    check the Verify on First Refresh option for the report
    Save the report
    Workaround 2: Add "rd.VerifyDataBase()" in the code
            databaseController.SetTableLocation(oldTable, newTable);
            rd.VerifyDataBase();

  • Crystal Reports: Unexpected database connector error

    Hi experts,
    I have a Web Module DC that uses JSP to show Crystal Reports. In my report I use POJO as datasource. The POJO itself is a JPA entity and is located in other EJB Module DC that has dependency with the Web Module DC. At design time everything looks fine and I can retrieve the data I need from other EJB Module with Session Beans but as a result I see the following error: "Unexpected database connector error". The architecture is the following:
    SessionBean EJB Module----
    |
                                                       >>dependency to >> Web Module DC with Crystal Reports
    JPA Entities EJB Module----
    |
    And in my report as datasource I use entity from the JPA EJB Module. And the source in my jsp is the following:
         Object object = null;
         try {
              Context c = new InitialContext();
              object = c
                        .lookup("ejb:/appName=sap.com/slauto_viewer_app, beanName=GeneralBean, interfaceName=com.sap.crs.slautoviewer.beans.GeneralBeanLocal");
              Class clazz = object.getClass();
              try {
                   //Open report.
                   Method method = getMethod(clazz,
                             "getGeneralDataByHostAndID");
                   List<General> generals = (List<General>) method
                             .invoke(object,
                                       new Object[] { "localhost", "b", 10 });
                   POJOResultSetFactory factory = new POJOResultSetFactory(
                             SlAutoGeneral.class);
                   POJOResultSet resultSet = factory
                             .createResultSet(generals);
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open("CrystalReport1.rpt", 0);
                   ITable table = reportClientDoc.getDatabaseController()
                             .getDatabase().getTables().getTable(0);
                   String tableAlias = table.getAlias();
                   reportClientDoc.getDatabaseController().setDataSource(
                             resultSet, tableAlias, tableAlias);
                   session.setAttribute("reportSource", reportClientDoc
                             .getReportSource());
                   CrystalReportViewer viewer = new CrystalReportViewer();
                   viewer.setOwnPage(true);
                   viewer
                             .setDocumentViewType(CrDocumentViewTypeEnum.webLayout);
                   viewer.setHasDrilldownTabs(false);
                   viewer.setDisplayToolbar(false);
                   viewer.setPrintMode(CrPrintMode.ACTIVEX);
                   Object reportSource = reportClientDoc.getReportSource();
                   viewer.setReportSource(reportSource);
                   viewer.processHttpRequest(request, response,
                             getServletConfig().getServletContext(), null);
              } catch (ReportSDKException ex) {
                   out.println(ex);
              } catch (Exception ex) {
                   out.println(ex);
         } catch (NamingException e) {
    protected Method getMethod(Class clazz, String name) {
              Method[] methods = clazz.getMethods();
              for (int i = 0; i < methods.length; i++) {
                   Method method = methods<i>;
                   String methodName = method.getName();
                   if (methodName.equals(name)) {
                        return method;
              return null;
    Please tell me what could be wrong
    Regards,
    Martin
    Edited by: musaka on Dec 11, 2009 2:51 PM

    Please check the Preview tab for formatting before posting. If People can read the question they may reply. Limit your posts to 1500 characters, then formatting is not lost.

  • Database Connector Error:'DAO Error Code:0xc03

    hi Guys ,
    I m getting an error while im adding parameter in my Crystal parameter.
    The Error is-
    Database Connector Error:'DAO Error Code:0xc03
    Source:DAO Database
    Description:Malformed GUID,in query expression
    'Year=Year(#2010-04-27 11:23:15#)and Month <=Month({?End Date})'.'
    I have used the following Sql Query:
    SELECT  Sum(Amount)  AS  Year_BUDGET, [Account Number]
    FROM  [Monthly Account Budgets]
    WHERE  Year = Year ({?End Date}) and Month <= Month({?End
    Date})
    GROUP BY [Account Number];
    Plz try to give me any solution.

    Is there really a carriage return (new line) between "{?End" and "Date}" in the Month() expression as shown above?  It looks like Crystal isn't recognizing {?End Date} in that part of the formula and doing the substitution correctly.
    HTH,
    Carl

  • Database Connector Error when I connect SAP Crystal Report to dbase

    When I connect SAP Crystal Report to dbase the error is "Database Connector Error", only when exist a field the type memo. I need to used this type of field, somebody that known how can I resolve this problem or some idea?
    Thanks a lot for your help.

    Hi,
    there are sevaral SAP Notes for your problem. Can you specify the databaseof the source?
    i.e. MS SQL Server -> Note 1212769
          dbase -> Note 1209347
    regards
    -Phil

  • Unknown Database connector Error - Crystal Reports 2008 and OLE DB

    Hi,
    I want to create a report based on OLE DB provider.
    Once I Select it from the Database Expert list I get this Error: "Unknown Database Connector Error", and the list is empty.
    I am using Crystal Reports 2008 on Win XP SP2.
    SQL Server 2005 is installed on the local machine.
    If I create a UDL File and double click, I can see all OLE DB Providers on the machine.
    What am I missing ?
    Thanks,
    Yuval.

    Hi Friends,
    Thank you all for trying to help.
    - The installed MDAC version is 2.8 (It comes with XP SP2). I have tried installing it again and it says that it is already installed.
    - I am not using a bussiness view. Just the simplest blank report in CR2008. I am not able to start it using OLE DB, once I want to choose a provider - I get the error, before even entering connection details such as username and password.
    - I am able to build an ODBC report, but when trying to view it using Crystal Reports Windows Form Viewer (from within a .Net application) I get an error: "Failed to Open The Connection". It happens also with reports built on other machines using OLE DB.
    Same report works fine with the same application on different machines and I cannot figure out what is the difference.
    I think Something on my machine is not right.
    Any suggestions ?
    Thanks,
    Yuval.

  • Unknown Database Connector Error using Oracle stored procedures

    We are using an Oracle database for the first time with our Crystal Reports, and I am attempting to modify a report to use a new stored procedure.  When I attempt to add either the new procedure, or to add a new copy of the existing procedure, I get an error message:
    Unknown Database Connector Error
    If I remove the existing procedure first (leaving no database objects at all), and then attempt to add back exactly the same stored procedure that I just removed, I get a different error message:
    Database Connector Error: '42000:[Oracle][ODBC]Syntax error or access violation'
    Neither of these errors is particularly helpful.  The stored procedure in question works as is.  I can run it in SQL Developer, and it also executes within the existing report if I run it.  Unfortunately, it needs to be modified and given a new name, so I need to be able to add the new stored procedure to the report.
    The operating system is Windows XP Professional version 2002 SP3.  The Oracle version is 11g (11.2.0.2.0).  Crystal reports version is Crystal Reports 2008 (12.3.0.601).  The stored procedure returns a refcursor.  The ODBC connection is created using the "Oracle in OraClient11g_home1" driver.  When I test the connection, it tells me it was successful.
    If it matters, the report is a Saba report.
    Can anyone shed any light on what the problem is and how to fix it.  If the solution is to upgrade the Windows version, that is under the control of our tech support and there is no information available as to when it will happen.

    Yes - I had used the Set Datasource Location to point to the correct ODBC connection.  I get the same results with an existing report as I do with a new blank report.
    I have no idea where the service market place is.  Honestly, I find the entire SAP site confusing.  I found one reference to the PAM guide, but when I clicked on it, it insisted on a userid/password, and apparently the userid/password I have for this discussion group doesn't pass.  I did find, eventually, a document called "Crystal Reports 2008 Service Pack 3 for Windows - Supported Platforms".  When I read it, it tells me that it's compatible with Oracle 11g, generic ODBC, and Windows XP SP3, which is what we are using.  I'm hoping that this document has equivalent information to the PAM guide.

  • Unexpected database connector error when upgraded to the JRC 12.2.208

    Hi,
         My reports were working fine when using the CR viewers 11 SDK. In order to use print from the server functionality, I upgraded to JRC 12.2.208. Since then I am getting the following exception. Please help. Thanks!
    Line: -
    Exception Trace =
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
    Line: -
    CrystalReport logs:
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand  - VerifyDatabaseCommand,0,Enter CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;<isFirstVerify=false>;
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand  - VerifyDatabaseCommand,30823955,Exit CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command SETUP: VerifyDatabaseCommand
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command PERFORM: VerifyDatabaseCommand
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand  - VerifyDatabaseCommand,30823955,Enter perform,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
    2010-10-07 09:15:18,390 [http-80-1] INFO  com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand  - Verifying database
    2010-10-07 09:15:18,390 [http-80-1] INFO  com.crystaldecisions.reports.reportdefinition.ReportCommand.CheckDatabaseCommand  - CheckDatabaseCommand,0,Enter CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
    2010-10-07 09:15:18,390 [http-80-1] INFO  com.crystaldecisions.reports.reportdefinition.ReportCommand.CheckDatabaseCommand  - CheckDatabaseCommand,5205942,Exit CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command SETUP: CheckDatabaseCommand
    2010-10-07 09:15:18,406 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command PERFORM: CheckDatabaseCommand
    2010-10-07 09:15:18,406 [http-80-1] INFO  com.crystaldecisions.reports.reportdefinition.ReportCommand.CheckDatabaseCommand  - CheckDatabaseCommand,5205942,Enter perform,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
    2010-10-07 09:15:18,406 [http-80-1] INFO  com.crystaldecisions.reports.queryengine  - Connection logon:PreQEServerName=s(DOCSQLDEV01);Provider=s(SQLOLEDB.1);Integrated Security=s(SSPI);Initial Catalog=s(ICTS_DEV);Data Source=s(DOCSQLDEV01);Use Procedure for Prepare=s(1);Auto Translate=s(True);Packet Size=s(4096);Workstation ID=s(DOCCAPWKS708);PreQEServerType=s(Active Data (ADO));Database DLL=s(crdb_javabeans.dll);Java ResultSet=
    2010-10-07 09:15:18,406 [http-80-1] INFO  com.crystaldecisions.reports.queryengine  - Connection logon successfully
    2010-10-07 09:15:18,437 [http-80-1] INFO  com.crystaldecisions.reports.queryengine  - Rowset restart: moveToStart true
    2010-10-07 09:15:18,437 [http-80-1] INFO  com.crystaldecisions.reports.queryengine  - Rowset execute
    2010-10-07 09:15:18,437 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command SETUP: NotUndoableCommand
    2010-10-07 09:15:18,437 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command PERFORM: NotUndoableCommand
    2010-10-07 09:15:18,437 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - -- command is NOT UNDOABLE -> purge undo stack
    2010-10-07 09:15:18,453 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command SETUP: NotUndoableCommand
    2010-10-07 09:15:18,453 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command PERFORM: NotUndoableCommand
    2010-10-07 09:15:18,453 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - -- command is NOT UNDOABLE -> purge undo stack
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(SourceFile:605)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(SourceFile:1688)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(SourceFile:2650)
         at com.crystaldecisions.sdk.occa.report.application.b9.onDataSourceChanged(SourceFile:301)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:962)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2834)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(SourceFile:2557)
         at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(SourceFile:87)

    I find in the SAP notes that this is a reported bug in the JRC application. 
    SAP Note 1416845 - JRC application throws "Unexpected database connector" error
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433313336333833343335%7D.do
    My question is - Does anyone know when is this bug scheduled to be fixed and released?
    Thanks,
    Travis

  • Unexpected database connector error when upgraded to the JRC 12.2.209

    Hi all,
    my reports were working fine when using the Java Reporting component version 11.8.4.1094 within a web application.
    I upgraded to JRC version 12.2.209.1094 Since then I am getting the following exception:
    16:44:33,546 ERROR [JRCCommunicationAdapter]  detected an exception: Unexpected database connector error
         at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:632)
         at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
         at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
         at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
         at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
         at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
         at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
         at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
         at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
         at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fo(SourceFile:526)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(SourceFile:613)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(SourceFile:578)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(SourceFile:387)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)
         at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:78)
         at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
         at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
         at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(SourceFile:286)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(SourceFile:209)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(SourceFile:249)
         at com.businessobjects.report.web.event.bh.a(SourceFile:158)
         at com.businessobjects.report.web.event.o.a(SourceFile:146)
         at com.businessobjects.report.web.event.bw.broadcast(SourceFile:93)
         at com.businessobjects.report.web.event.am.a(SourceFile:53)
         at com.businessobjects.report.web.a.t.if(SourceFile:2104)
         at com.businessobjects.report.web.e.a(SourceFile:300)
         at com.businessobjects.report.web.e.a(SourceFile:202)
         at com.businessobjects.report.web.e.a(SourceFile:135)
         at com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)
         at com.crystaldecisions.report.web.viewer.ReportExportControl.a(SourceFile:124)
         at com.crystaldecisions.report.web.ServerControl.a(SourceFile:131)
         at com.crystaldecisions.report.web.ServerControl.getHtmlContent(SourceFile:119)
         at it.xxxx.xxx.servlet.xxxx.xxxx.xxxxx(xxxxx.java:338)
    16:44:33,656 ERROR [STDERR] Caused by: java.sql.SQLException: ORA-00936: missing expression
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:693)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:617)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.T2CStatement.executeForDescribe(T2CStatement.java:766)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1077)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1770)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1739)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:299)
    16:44:33,656 ERROR [STDERR]      at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:91)
    16:44:33,656 ERROR [STDERR]      ... 99 more
    From the Eclipse's console I recovered the query being executed and I have noticed that in the query missing one parameter and some parameters are set up incorrectly to zero. With the old version the parameters were passed correctly to the query and the reports work fine.
    Please help. Thanks!
    Edited by: Francesco83 on Jan 13, 2011 5:27 PM
    Edited by: Francesco83 on Jan 13, 2011 5:29 PM
    Edited by: Francesco83 on Jan 14, 2011 12:57 PM

    I find in the SAP notes that this is a reported bug in the JRC application. 
    SAP Note 1416845 - JRC application throws "Unexpected database connector" error
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433313336333833343335%7D.do
    My question is - Does anyone know when is this bug scheduled to be fixed and released?
    Thanks,
    Travis

Maybe you are looking for

  • Can i install final cut 4 and final cut 5 on the same machine ?

    hi i currently use fcp 5.14 on my g5 dual 2.3 (pci-x). i am starting to teach fcp at a college where they use fcp 4.5. i know that i wont be able to prepare assignments for the students on fcp 5 'cause they wont be able to open them up on 4.5. the sy

  • I can help with a buffering problem in a video-based eLearning..

    Hello, I hope I can give a little back here for once.  : )   I have a video-based eLearning that is hosted on a LMS that has been giving the users with low bandwidth a lot of problems.  I was doing some testing with Chrome Dev Tools today, and I thin

  • How to create report from report painter??

    Hi, how to create report from report painter?? from transaction code GRR1

  • Battery does not charge after rescue & recovery

    Hi, Yesterday I set up my computer fresh from the preload on the harddrive due to slowness, instabilities, inability to use VPN etc. After the reinstallation of OS and securiy updates, my battery does not charge anymore. The battery indicator on the

  • More Manually manage music problems

    OK, I have got this to work ONCE.  But now, every time I try to drag from the main pane to the right-hand sidebar it just doesn't work. I think I'm doing the right things:           not using Match,           iTunes 11 GUI ( i.e. no LHS sidebar),