Unknown Database Connector Error - when published

Post Author: dommurphy21
CA Forum: Deployment
Hi,
Im trying to get a Crystal Report to run when published to my BOXI Enterprise server.  I get the following error when trying to run the report
CrystalReportViewer
Unable to retrieve Object.Error in File UseTable.rpt: Unknown Database Connector Error
The report runs on my PC using an oracle connection and I have also setup the orace driver and client on the Server and can connect to the database from the server.  I'm using the same TNSNAMES entries on my client that are also on the server.
Could you please respond asap as once this simple issue is resolved I can get on with completing my Proof of Concept.
RegardsDominic

Post Author: colin mackenzie
CA Forum: Deployment
Hi Dominic. I had a similar problem in the past.When you go to publish your report try this.Select the Object.Select the Process Tab.Select the Database Tab.Select the radio button or option button "Use custom database logon information specified here"Inside the drop down list select Oracle.Enter your server name or tnsname "whatever.world"Enter your database name, this doesn't really matter you can enter anything will work here. (Whatever world - Production)Try that and let me know if that solves the problem.

Similar Messages

  • Database Connector Error when publishing

    We are publishing a report to multiple recipients, when publishing to any single recipient it works but as soon as a second recipient is added it gives a "Database Connector Error" The installation is XI3.1 on AIX. The publication worked for a list of 2000 recipients last week, now it only works for a single ricipient at a time. I realise something must have changed but basis say nothing has changed and on the reports a small format change was made. Where can I start looking.
    Edited by: Johann Cornelius on Sep 18, 2009 1:06 PM

    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 in CR XI R2 sp6

    I'm getting an "Unknown Database Connector Error" when I try to Set Data Source Location. This is effecting all of my reports and is happening on multiple copies of CR XI. I'm trying to connect to MS SQL using an ODBC (RDO) connection. The reports were initially working fine connecting to the datasource and then something changed. The current connection is blank and when I try to create a new connection I get the above error.
    I tried updating CR to the latest version (what a pain! kept running into the Missing CrystalReport.msi problem). Finally figured out how to fix that but the updates did not solve my connection problem.
    I ran the SQL Connectivity Test app and here are the results:
    SQLDriverConnect Successful
    [Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'I3_IC'.
    [Microsoft][ODBC SQL Server Driver][SQL Server]Changed language setting to us_english.
    ODBC Version is : 03
    SQL Driver Name is : SQLSRV32
    SQL Driver Version is : 03.86.3959
    SQL Driver Supported ODBC Version is : 03
    SQL DBMS Name is : Microsoft SQL Server
    SQL DBMS Version is : 10.00.2531
    I am running Crystal on a Windows Server 2003 Enterprise Edition system. It's a developement and testing server. I also tried running CR on a Windows XP workstation connection to the same SQL server with the same results.
    Any help would be greatly appreciated. I am totally stumped.

    Hello,
    mmmmmm.. From the driver name it's SQL Server 2000 you are using?
    Have a look at your PATH statement to see if MS SQL is in there. It should look something like this:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\>path
    PATH=C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;.....
    It may be that your ODBCINI in the registry is corrupted so removing all and adding them back in may help. Use the ODBC Administrator to remove your DSN's, don't modify the registry.
    Also create your DSN's using the System tab so all users and processes have access to them.
    Thank you
    Don

  • Unable to retrieve Object.Error in File: Unknown Database Connector Error

    Hi,
    I have deployed two report on BO XI server. Both the reports are designed in Crystal Report designer XI.
    I got all database credentilas, saved in CMC by my administrator so that these reports should not prompt me for any database login parameters when I am trying to run them from BOXI test server.
    When I am running one of my report, the report is working fine. But this is not the case with other report.
    This second report is working well with some inputs.
    Case 1 - It is having to input date parameter(Date1 and Date2), when I am entering one input date parameter (Date1) and other (Date2) is set to NULL, it is displaying correct result. But when I am giving any date for Date2 it is throwing me an error -
    "Error in File Manager_Agent_Report.rpt: Unknown Database Connector Error
    Unable to retrieve Object.
    Error in File Manager_Agent_Report.rpt: Unknown Database Connector Error "
    Case 2 - Similiarly it is having an other input field which I am using in filetering the records in Report.
    If I am setting it to NULL or If I am not giving this field, while entering the input. I am getting an output.
    But incase I am giving this particular field then again it is promptig me the  above mentioned error.
    The report are working fine if I am executing them from crystal report designer.
    Please help me to find a solution for the same.
    Thanks
    Deepak

    Deepak, firstly are you trying to connect to one database or two in these reports? I would check the ODBC connections both in server and client machine (testing server or whatever you testing it on). Make sure both connection settings are exactly the same.
    Secondly I will check the parameters values under Objects under the CMC and see if there is anything changed there.
    Report back if you have checked both and it still giving errors
    Regards
    Jehanzeb

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

  • 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();

  • Unknown Database Connector Error

    Hi,
    I am using Crystal Reports 2008 to write reports against a CRS2008 repository.  I have developed and deployed the reports succesfully to multiple servers but I am now receiving and error when trying to refresh the data in the report.
    I can still connect to the repository and any changes to data foundation/business views are being picked up when I verify the database within the designer.
    I am receiving the following error when trying to refresh the data in a report:
    Crystal Reports for SAP Business One
    Unknown Database Connector Error
    OK  
    Crystal Reports for SAP Business One
    Prompting failed with the following error message: ''.
    Error source:   Error code: 0x80004005
    OK  
    Any ideas?
    I have seen a couple of hits on this issue but no obvious resolution.  I have tried closing and re-opening Crystal.  I am receiving this error on two different machines XP SP3 and Windows Server 2003 R2 SP2.  I receive exactly the same error on both machines.
    Regards,
    Sean

    Hi Don,
    Thanks for the link to the correct forum.
    Was a bit of a blonde moment on my behalf...I had re-imported the CRS Business Views, foundations etc but forgot that in doing so the Password against the Data Connection is lost.  I re-applied the password to the data connection and all was well in my Crystal World.
    Cheers,
    Sean

  • Unknown Database Connector Error   Details: "Failed to retrieve SQL Error"

    Hi
    Getting "Failed to retrieve SQL Error" while trying to refresh the Crystal report.
    Unable to create a new report also
    This is my ERROR MESSAGE
    "Unknown Database Connector Error   Details: "Failed to retrieve SQL Error"
    Previous Error: Query generated multiple SQL statements.However multiple SQL is not supported in crystal reports query panel"
    Any Suggestion.

    Hi,
    Please note that any query that generates multiple SQL statements is not supported in the Query Panel in Crystal Reports.
    I guess this Universe is generating multiple SQLs and hence the error.
    I found this option while I was searching for something else: Could you try turning off the "Multiple SQL statement for each measure" in the Universe parameters and see if it works?
    Also, here's the Universe Support Guide, although old, it is still applicable:
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/20984c2b-17f1-2b10-1091-d18977f7cd8f?QuickLink=index&overridelayout=true
    -Abhilash

  • Unknown Database Connector Error using Crystal Report XI with Windows 7

    My current configuration is:
    Windows XP Professional
    Crystal Reports XI Professional
    Oracle Client 10g
    This is working great, however we are switching to Windows 7 Professional and I need to get this same configuration working on the new machines.
    I have loaded Windows 7 Professional and Oracle Client 10g.  Oracle makes the data connection without any problems.  I loaded Crystal Reports XI Professional, but it will not connect to the Oracle database.  It keeps giving me the Unknown Database Connector error.  Can anyone assist me with this problem?  This is the final software package that is holding up the project. 
    Thanks

    Hello Uher,
    Thanks for quickly response.
    I have attached the details of my issue, the most confuse part is that I'm not sure is there any conflict btw software.
    Appreciating your professional advise.

  • Database Connector Error : when refreshing the crystal report in Infoview

    Hi,
        I've created a crystal report on SAP R/3 tables and the report is refreshing fine in my local system. But however when I publish the report to the BOE, and when I try to refresh the report it gives the error:
    Error in File <file name>: Database Connector Error. I'm using Crystal reports 2008 and the BOE is XI 3.1.
    How can I solve this?
    Thanks,
    Sanjay

    Hey folks,
    i suppose  we are facing the same error. But where do i check if the key for the server-side integration kit has expired? There is no explicit key in our CMC.
    We use BOE XI 3.1.
    Thanks in advance!

  • 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 rpt has parameters (CR4JE)

    Hello,
    I am trying to call a crystal report from my web-based JBoss application.  If the report does not have a parameter, the report is displayed just fine.  When the report has a parameter, a parameter screen is displayed. When I enter the parameter information and press OK, the report gives "Unexpected Database Connector Error". This applies for both String type parameters and Number type parameters.  Have provided the code below for the xhtml page that contains the bocrv tag and the "reports" bean that it references.  The database is Oracle10g (10.2.0.4).
    Many thanks,
    Travis
    ReportBean.java
    public void init(String reportName) {
              System.out.println("Calledinit");
              String report = "./crystalReports/"+reportName;
              IReportSourceFactory2 rptSrcFactory = (IReportSourceFactory2) new JPEReportSourceFactory();
              try {
                   System.out.println("Callinng rpet"+report);
                   this.reportSource = (IReportSource) rptSrcFactory
                             .createReportSource(report, l);
              } catch (ReportSDKException e) {
                   System.out.println("Exception while callingn report");
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    reportViewer.xhtml
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view contentType="text/html" xmlns="http://www.w3.org/1999/xhtml"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:s="http://jboss.com/products/seam/taglib"
         xmlns:bocrv="http://www.businessobjects.com/jsf/crystalreportsviewers">
         <html>
         <head>
         <title>Report Viewer</title>
         </head>
         <body>
         <h:form>
              <bocrv:reportPageViewer reportSource="#{reports.reportSource}"
                   allowParameterPrompting="true" viewerName="reportViewer" />
         </h:form>
         </body>
         </html>
    </f:view>

    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 data sent from POJO.. Plz Help Me

    Hi, Please Help me about this, I have started learning to develop a crystal report with java swing in crystal report integrated eclipse IDE 3.5 but when i am trying to send data from pojo to report file its giving error like "Unexpected database connector error" and Error code:-2147215349 Error code name:docNotReady.... please hlep me... i uploaded my program and the link to download my file is :
    http://www.4shared.com/file/mz8O4iQi/SimplePojoReport.html
    and i am not using any database just setting the data in the pojo...
    i wrote my problem here before, but nobody replied me... so this time i uploaded my project.. please help me...
    thanks...

    Hell Ted Ueda,
          Thanks for your reply, and did you downloaded my project files ? if not then please download it first.. because i retrieving data from the POJO not from any database.. from database its working fine but in case of POJO its not, because i wanna retrieve data dynamically from directly fields to report, means that user will fill all the information in the text box (Swing) and when he click on the button then the data from the text box should be pushed to report file and also should have to saved in the database.. so please download my project file... and help me...
    link : http://www.4shared.com/file/mz8O4iQi/SimplePojoReport.html
    thanking you..
    Arun...

  • 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