Error in file ...rpt : Database Connector Error

Hello everyone,
I recently came across a strange problem whose source i can't find. I am using printToPrinter function to print a report to a printer. My application prints more than 300 reports continuously one after the other. The way i do this is as follows:
1. I create the datasource in asp.net
2. I insert the datasource in crystal reports datasource property
3. I call printToprinter
4. I close and dispose the ReportDocument object that i use to do the previous steps.
5. I continue to the next report and so on...
When i run the application from my development machine the reports print successfully. When my client whose pc is far away tries to print, sometimes and not always, one of the reports crashes in the line of code where i have put the printToPrinter method and the error is :
Error in file c:\windows\temp\myreport.rpt :
Database Connector Error
Does anyone know what causes this strange behavior? And why does this happen occasionally?
Thanks a lot in advance!

You're closing the reports after you finish printing them, but are you calling .Dispose() on them?  The Crystal SDK is really a wrapper around COM objects.  Code written in Visual Studio does not automatically memory manage COM objects well (if at all!) so you have to do one of two things: either explicitly call .Dispose() when you're done with a report or put the report in a "Using" structure like this (assuming C# code behind - I don't know how this works in VB!):
Using (ReportDocument myRpt = New ReportDocument())
  //insert code to load and print report here
Another issue might be due to network latency.  If your user is indeed "far away" from where the application is running and is printing to a printer local to him, then any network slow-down or things like packet errors would affect communication between the application and the user and cause the print command to error out.
-Dell

Similar Messages

  • Error in File (report server\ report.rpt):  Database Connector Error

    New installation of XI R2 - using Crystal Reports Version 11.5.8.826 for developement against Oracle DB.
    Currently have around 20 reports running on XI (need to import ~1500 reports from Crystal Enterprise 10, but waiting to resolve this issue)
    Some reports sometimes (not always) get the following error:
    Error in File (report server\ report.rpt):  Database Connector Error
    If the report is re-scheduled, report will sometime run fine and sometimes gets the same error again.
    There seems to be no logical way to determine which parameters will cause the report to fail or when.
    I'm experiencing the problem on about 3 reports only - All against the same DB and only occassionally.  These 20 reports were developed with CR XI and all run against the same Oracle DB.

    I've got the same problem- the reports run fine in Crystal, but sometimes (not everytime) they fail in InfoView with "Database Connector Error" message. My report doesn't contain any data, just 8 sets of 4 subreports in different footer sections, which each connect to a different stored procedure. The report is to help with our server checks: we have a set of 4 different stored procedures which run on each of 8 different servers making 32 different SPs and there is a subreport in this report for each.
    It does seem to be random whether this problem occurs or not- I have scheduled the report to run regularly (1 recurring instance) and sometime it works, sometimes not, but always the same failure message. I have increased the success rate by allowing the report to re-try on failure, but this does take time, and isn't really curing the problem.
    I wonder whether this error could be caused by a delay in one of the SPs returning its data, and the report timing out since no data is being returned. Would anyone know whether this is likely to be the cause, and if so how to fix it? Or any suggestions what else it could be?
    Thanks,
    Tom

  • CR: Error in File ~tmp2be86bbf9f5e260.rpt: Database Connector Error

    dear all, this has finally got the better of me.
    i have been successfully scheduling a set of reports each month, until now. they all come back with the following error, each with a different ~tmp.rpt file
    Error in File ~tmp2be86bbf9f5e260.rpt: Database Connector Error
    each report communicates with an SAP ECC system. the user is fine, i have even tried my username to connect to sap, and same error occurs.
    no runtime errors in sap.
    the actual reports can be opened with crystal reports, and refreshed to show data without any problem.
    could this be an integration issue. i checked by removing the sap role, and adding it back without any issues.
    i have also cloned the CrystalReportsJobServer and tried to schedule with this one, same thing happens
    here are the instance details
    Title: Inv Count Cars 
    Document Type: Crystal Report 
    Status Failed 
    External Destination: None 
    Owner: ABC~400/GSMITH 
    Server Used: ABSAP02.CrystalReportsJobServer 
    PID: 11240 
    Folder Path: Reports/ 
    Remote Instance: No 
    Creation Time: 1/09/2011 14:59 
    Expiry: 1/09/2021 14:59 
    Start Time: 1/09/2011 14:59 
    End Time: 1/09/2011 14:59 
    Printer: None 
    Formats: Crystal Reports 
    Parameters: null; chrysler 
    Error Message: Error in File ~tmp2be86bbf9f5e260.rpt: Database Connector Error 
    could this be an integration ?
    i would very much appreciate anyones help
    thanks
    g
    Edited by: Glen Spalding on Sep 1, 2011 7:27 AM

    all servers up and running without any problems
    ODBC database connection works fine
    here a list i have made, so i can remember what i have done
    the issue is on the production box, and the dev box works fine.
    1. checked sap user, ok
    2. checked individual reports, ok
    3. checked dev environment, ok
    4. checked production IFRS & OFRS, ok
    5. checked production report on dev environment, ok
    6. checked working dev report on production environment, failed
    7. u201Crepairu201D of installation kit
    8. CRYSTALREPORTJBBSERVER failing
    9. cloned server, server failed
    10. tried rogue sap user/password on dev environment, returned different error
    11. bounced production, same problem, failed
    12. checked OBDC connection
    13. checked new SIA with new Job Server, still same thing, failed
    14. No Windows Events
    15. SAP note raised (0000724225 2011)
    16. BOBI Server Trace files nothing obvious
    17. tried with report sample to different backend, and CrystalReportsJobServer, ok
    18. brand new crystal reports with different user, failed
    19. noticed in trace file error 707 with JobScheduleChild process

  • CR 2008 on SAP BW : Error on file filename : Database Connector Error

    Hi,
    We are facing a rather strange problem in our Prod box.
    When we run a CR with a mandatory parameter from EP or Infoview,
    For the first available LOV on Plant,  (Plant is the Mandatory Parameter entry for the report)
    For the first execution,
    the Crystal report fails to execute and throws the following error.
    Error on file <filename>: Database Connector Error
    When we re-run the report with the same parameters, it executes and displays the result.
    We are using Crystal Reports 2008 on SAP BW Query with SAP BW MDX Driver
    Since the users currently access this report, we need this get resolved asap.
    Any help is greatly appreciated.

    Hi,
    this is a forum so people will answer questions when they get to it.
    if you need help "asap" then I would suggest you open a case with SAP Support
    Ingo

  • Error in file filename : Database Connector Error

    Dears,
    I face a problem from several days with one of my deployed reports to CMS.
    The problem is the same reports run for some users and other users keeps to give them this error:
    Error in file <filename>: Database Connector Error
    Note: there is no filteration or any condition on users name and data resulted from this report is one for all users.
    I tried everything, even i remove all objects from the report and keep only page headers it works.
    But, if i readded any field from my DB object in crystal report the error appears again.
    Please help, Thanks in advance.

    Hello,
    You are using the original release of Cr XI R2. This has likely been fixed after applying all Service Packs and Fix Packs.
    You should update the BOE Servers also so before doing so please check with the BOE Administrator.
    To get the BOE patches you have to log into Service Market Place. To get CR patches make sure you have your keycode saved and available.
    Uninstall CR using the Add/Remove Programs in Control Panel and then use the Full version of CR XI R2 Service Pack 4 and you can then apply SP 6, if it requires SP 5 first please do so:
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    We do recommend that BOE and CR be on the same patch level.
    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

  • Regarding Database Connector Error

    Hi Experts,
        I am using BO Edge Series XI 3.0, Crystal report 2008, Live Office XI 3.0 and Xcelsius 2008. I have connected ERP (R/3) system with crystal report and created report. This report are stored in BOE. Using Live Office XI 3.0, created live office document from this crystal report. In Xcelsius, i have imported live office document and created dashboard and generated PDF.swf file. When i open the swf file with SAP user info, its showing error like this
    soapenv:Server.generalException: Database Connector Error: ''
    Error in File {FC927591-0D5B-475D-A5D5-F770F6E5514B}.rpt:
    Database Connector Error
    The same error occur when i refresh the crystal report in InfoView also.
    The same error occur when i refresh the live office document also. Any help will be appreciated.
    Regards,
    Kumar.

    Kumar,
    Make sure you cross check:
    1. The database connector used by the report is installed on all machines from which the report can be run.
    2. The necessary database client software required by the database connector is installed and in the PATH environment system variable on all machines from which the report can be run.
    -Anil

  • BOE上一个很奇怪的问题(Database Connector Error)

    BOE版本: XI3.1
    OS:  SUSE10
    DB:  SAP BW
    情况是这样的: 安装BOE时, 用的是客户从Service Center上下载的临时的License, 在2010-1-12日到期.
    安装完后在2009年12月底替换过一个临时的License, 是到2010-3-8日的. 客户这边由于公司采购流程的原因, 正式的license流程还没有走完,只好先用临时的license了.
    现在问题出来了, 2010-1-12的早上, 包括测试的BOE系统和正式的BOE系统上的报表都同时无法再连接后台SAP BW了, 显示的错误为 Error in File ~tmp2fa55fbd87812b7.rpt: Database Connector Error, 所有报表都是同样的问题, 而且连基于SAP TABLE的报表也连不了了,错误提示是一样的.而在此之前,所有报表都是可以正常运行的.
    这里顺便说一下, 在PC端, 用Crystal Reports 2008来连接SAP BW是正常的. 可以抓到数据.
    不知道是不是license的影响导致这样的问题,请大家帮忙看看.
    Error in File ~tmp2fa55fbd87812b7.rpt: Database Connector Error

    问题解决了, 是IK的license没有更新过来, 现在搞定了.

  • Database Connector Error from CMC

    I get database connector error when I schedule a report from CMC for Previous months begin and end date.For other critieria the report works fine. It works when I give previous dates to Trnasaction Post date > 10/01/2010 and  Trnasaction Post date < 10/31/2010.But When I write the sql to get these dates and replace the dates with this logic for begin and end date.After 10-15 minutes or after 30 minutes I get Database connecotr error in CMC. This logic works fine for other reports created by other developers and when I apply the same for their reports they run fine.In this case  This report is eactly save as  of another report.That report works fine for this kind of a criteria.But this report does not.
    We are using Oracle 11.1.0  on client
    Error Message: Error in File ~tmp7113661730ff810.rpt: Database Connector Error 
    CMC Product: 12.1.0 © 2008 Business Objects
    CR designer 2008 12.2.3.467
    In tnsnames.ora
    Here is the following info
    pnet02d_dw =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (FAILOVER = on)
          (SDU = 32767)
          (LOAD_BALANCE = on)
          (ADDRESS = (PROTOCOL = TCP)(HOST = tss2a017v1)(PORT = 4329))
          (ADDRESS = (PROTOCOL = TCP)(HOST = tss2a017v1)(PORT = 4329))
          (LOAD_BALANCE = yes)
        (CONNECT_DATA =
          (SERVICE_NAME = pnet02d_dw)
          (FAILOVER_MODE =
            (TYPE = select)
            (METHOD = basic)
          (DELAY = 1)
          (RETRIES = 5)

    The problem is solved by some extentent.By performance tuning the query  the package does finish executing in few minutes.The actuall error in Designer was out of temp DB.

  • Database Connector Error (ODBC, SYBASE) in CR

    Hi,
    I'm running Crystal Reports 2008 and Business Objects Edge 3.0.
    In CR there is connection to SYBASE database trought SYBASE ODBC driver. This ODBC connection is established on my local computer and on BOE server too.
    When I try to refresh CR reports from Infoview or CMC, an erorr occured - Error in File ~tmp150c5bec67474b0.rpt: Database Connector Error.
    When I open this file in Crystal Reports installed on the BOE server, everything works fine.
    When I open this file in Crystal Reports installed on my local computer, everything works fine.
    Any idea how to solve this?
    Btw, some reports are working fine. I've created some small simple reports (one table or one command) and saved them to the CMS. Refreshing works fine.
    And maybe relevant question to this - I entered all required informations in Database configuration of my CR report (report properties). But BOE even thouht asks for username and password.
    I've tried both "use original database logon informations" and "use custom database logon informations". Same results.
    Thanks in advance
    Peter

    I've uninstalled SAP BO Edge 3.0 and I've installed the version 3.1
    Now it works.
    But still I don't know the reason.

  • 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 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---- Error code:-2147467259

    Hi, I am using Crystal Report for Eclipse 12.2.208).
    My rpt file contains a command with a simple sql query
    In eclipse I used this rpt and generated the Jsp file to export the report to Pdf format
    But exception is thrown in the following line of Jsp
    //Push the Java ResultSet into the report (this will then be the datasource of the report)
    CRJavaHelper.passResultSet(clientDoc, fetchResultSet(driverName, connectStr, userName, password, query), tableAlias, "");
    CRJavaHelper.java
    clientDoc.getDatabaseController().setDataSource(rs, tableAlias,tableAlias);
    While replacing the result set I am getting the following error.... Please help me on this.
    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) 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.businessobjects.samples.CRJavaHelper.passResultSet(CRJavaHelper.java:263) at org.apache.jsp.Report2008_002dviewer_jsp._jspService(Report2008_002dviewer_jsp.java:120) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2962) at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944) at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533) at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245) at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776) at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234) at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161) at com.crystaldecisions.reports.queryengine.Table.try(SourceFile:1525) at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:568) at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2405) at com.crystaldecisions.reports.datafoundation.DataFoundation.a(SourceFile:1234) at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:344) at com.crystaldecisions.reports.dataengine.dfadapter.CheckDatabaseHelper.a(SourceFile:66) at com.crystaldecisions.reports.dataengine.datafoundation.CheckDatabaseCommand.new(SourceFile:100) at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71) at com.crystaldecisions.reports.common.Document.a(SourceFile:203) at com.crystaldecisions.reports.dataengine.VerifyDatabaseCommand.new(SourceFile:76) at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71) at com.crystaldecisions.reports.common.Document.a(SourceFile:203) at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175) at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.a(SourceFile:373) at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.if(SourceFile:352) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1291) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)

    Please ensure that you have upgraded to Service Pack 4.  There was a bug related to Unexpected Database Connector error that was resolved in the latest service pack release this February.

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

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

Maybe you are looking for

  • Cannot create a computer account at start up

    Bought a brand new MAc book pro, and cannot get passed the installation set-up phase: All is well until the  "create your computer account" menu, which once filled in, takes me back to first set-up screen "Use english as teh main language".....basica

  • Lync Mobility Not Working Internally

    Hi Experts, Actually i am a newbie and i have installed Lync 2013 (without Edge Server), and all services(autodiscovery with lync PC clients, A/V, IM, presence etc etc ) are working (internally and externally) except Mobility functionality. Following

  • Server socket problem

    I have written a java program, that is running on 2 PCs. I would like to display the outcomes of the program on one of those PCs. I believe I need a server socket to do this, but I am not really sure. Can someone help me? Thanks!

  • Can't get rid of popups!

    I have a macbook air that I just bought last year and I think I have malware. I have popups whenever I click on ANYTHING in any browser that I have tried. The most common popup is this mackeeper page. I've tried to follow to uninstall instructions bu

  • Strange installer process takes CPU away

    I once tried to download paint onto my Mac computer and then that is when things started getting slow, like I think it became kind of laggy, I ended up going to the task monitor thing and saw that there was a process called installer which was taking