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.

Similar Messages

  • Database Connector Error -Crystal Reports

    Hi all,
    I am using Crystal reports 2008 to design reports for IDM 7.1.The DB is SQL Server 2005.
    I am able to design and fetch correct data from the databases and things work fine in the Crystal report tool. But when I try to call the task from IDM-UI , I am getting a strange error and the job fails.
    The error message goes like tis:
    Failed generating report BasicRoleComposition85837.pdf
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
    putNextEntry failed storing85731
    I checked the constants and the its all set correctly. I checked the SQL too,it also seems to be ok.
    I really cant make out what went wrong.It would be great if someone can help me out with this.
    Thank you.
    Anupama

    Hi Anupama,
    I have same error.
    Do you know the solution for this ?
    Regards,
    Pradeep

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

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

  • 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

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

  • BOE XI R2 Error on failed instance:  Unknown Database Connector Error

    I have a recurring job that runs against a high availability instance of our SAP production server.  This job runs every 15 minutes to make sure that the HAS reporting instanace is available to my BOE environment for reporting.  This morning, one of my recurring instances failed and the associated message was "Unknown Database Connection Error."  The application and system event logs on my BOE server for the period immediately prior to the instance failure did not show any issues or unusual behavior.  Basis reviewed AS400 logs for the SAP instance and didn't see anything there either.
    Has anyone experienced a similar error nessage for a failed instance in this sort of a scenario?  The next recurring instance, and so far all subsequent runs, have been successful.

    David,
    We have the same problem at times; the work around we found was to retry.  Our standard is retry 3 time and wait 180 seconds.  I believe the problem comes from network congestion.  Our jobs usually complete on the first retry.
    TB

  • Converted to Crystal Reports 2008 and now have an issue with deployment

    Post Author: lwager
    CA Forum: Deployment
    I have converted my application to Crystal reports 2008 and I have that as a prerequisite in my set up program but everytime I try to install the software package on the client's machine I get this error when it is trying to install Crystal Reports
    Verifying file integrity of C:\DOCUME1\lauriew\LOCALS1\Temp\VSD1B7B.tmp\CrystalReports 12.0\CRRuntime_12_0_mlb.msiWinVerifyTrust returned 0File trustedError: Setup has detected that the file 'C:\DOCUME1\lauriew\LOCALS1\Temp\VSD1B7B.tmp\CrystalReports 12.0\CRRuntime_12_0_mlb.msi' has changed since it was initially published.
    Does anyone know why I am getting this error?  Thanks in advance for your help.

    I'm having the same problem ! Can someone help me with this problem ????

  • Error on installation (Crystal Reports 2008 and Windows 7)

    Hello,
    I'm trying to install Crystal Reports 2008 on a Windows 7 laptop.  Receiving Error 1904, Module C:\PROGRAM FILES\BUSINESS OBJECTS\BUSINESSOBJECTS  ENTERPRISE 12.0\win32_x86\ReportConvTool.dll failed to register.  This seems like a premissions error, but I have full admin rights on this system.
    We are starting training next week and I need to get the software installed.
    Any help you can provide would be great!
    Thanks!

    I have been looking and found the exact error above.
    So 2 of us have it but as yet there is not a fix.
    I understand that SP3 will help, but my problem at this second is I can not get the productr toload for the first time.
    Thus I do not think  I can apply SP3.
    Or (which is possilbe) am I wrong
    I will give it a go
    Thanks
    Edited by: Julian Gadd on Sep 21, 2010 6:34 PM
    Edited by: Julian Gadd on Sep 21, 2010 6:34 PM

  • Crystal Reports 2008 and BOXI3.1 issue

    Hi,
    Can somebody please help me finding a solution ?
    Here is the Problem:
    Environment Details DEV:
    BOXI 3.1product version 12.1.0.882
    Crystal Reports 2008
    DB2 database.
    Environment Details UAT BOX
    BOXI 3.1product version 12.2.0.290
    Crystal Reports 2008
    DB2 database.
    ISSUE Desc:
    1. I have designed a crystal reports in whih I have two parameters of type string.
    2. We are using this field to take inpuit from the user as a date field i.e. stardate and enddate in dd/mm/yyyy format (because Crystal default format is mm/dd/yyyy)
    3. converting this string in crystal to date type using Date() function.
    4. We are retrieving the records between startdate and enddate.
    5. This reports works as per our expectation in Crystal Report and on our DEV BOXI. i.e viewing and scheduling from CMC works fine.
    But doesnt on our UAT BOX.
    1. Report viewing from CMC works but when we are scheduling the reports for same date the instance success but they show report without data. There is no error while scheduling.
    2. Now, If I open the instance and try to reenter the startdate and enddate again having same date, then the instance show me the data.
    the dd/mm/yyyy format is working while viewing on UAT but mm/dd/yyyy format is working for scheduling.
    I am not able to understand why this is happening.
    Can any SAP member help me out please.
    Regards,
    Jon

    similiar problem here
    Incorrect date format in Crystal Report XI

  • Crystal Reports 2008 and Dynamic Images

    Hello,
    I have a windows .net application that uses a listing of items in a grid.  The user selects an item then clicks the print button and that brings up a report viewer form and passes the photograph location in a parameter to the report document being loaded.
    The first time that this report is printed, the image for the selected item is printed correctly.  The next time the report is printed, the default image used to create the graphic object on the report is printed.
    In addition if a user double clicks on the listing of items, a detail form is displayed.  When the same report is printed from this screen, the default image used to create the graphic object on the report is printed.
    This is happening in multiple .net windows applications.
    Can anyone please give me an idea as to what may be causing this.
    I am using Crystal Reports 2008 with Service Pack 2 installed.
    Thanks

    The following is the code in the Report Viewer form that contains the Crystal Report Viewer Control.
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Windows.Forms
    Imports System.IO
    Public Class RptViewer
        Inherits System.Windows.Forms.Form
        Dim MyReport As CrystalDecisions.CrystalReports.Engine.ReportDocument
    #Region " Windows Form Designer generated code "
        Public Sub New()
            MyBase.New()
            'This call is required by the Windows Form Designer.
            InitializeComponent()
            'Add any initialization after the InitializeComponent() call
        End Sub
        'Form overrides dispose to clean up the component list.
        Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
            If disposing Then
                If Not (components Is Nothing) Then
                    components.Dispose()
                End If
            End If
            MyBase.Dispose(disposing)
        End Sub
        Friend WithEvents CrystalReportViewer1 As CrystalDecisions.Windows.Forms.CrystalReportViewer
        'Required by the Windows Form Designer
        Private components As System.ComponentModel.IContainer
        'NOTE: The following procedure is required by the Windows Form Designer
        'It can be modified using the Windows Form Designer. 
        'Do not modify it using the code editor.
        <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
            Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(RptViewer))
            Me.CrystalReportViewer1 = New CrystalDecisions.Windows.Forms.CrystalReportViewer
            Me.SuspendLayout()
            'CrystalReportViewer1
            Me.CrystalReportViewer1.ActiveViewIndex = -1
            Me.CrystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.CrystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.CrystalReportViewer1.Location = New System.Drawing.Point(0, 0)
            Me.CrystalReportViewer1.Name = "CrystalReportViewer1"
            Me.CrystalReportViewer1.Size = New System.Drawing.Size(656, 481)
            Me.CrystalReportViewer1.TabIndex = 0
            Me.CrystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None
            'RptViewer
            Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
            Me.ClientSize = New System.Drawing.Size(656, 481)
            Me.Controls.Add(Me.CrystalReportViewer1)
            Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
            Me.Name = "RptViewer"
            Me.Text = "Report Viewer"
            Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
            Me.ResumeLayout(False)
        End Sub
    #End Region
        Private Sub RptViewer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Try
                Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
                myConnectionInfo.ServerName = MyServer (Name of SQL Server)
                myConnectionInfo.DatabaseName = MySqlDb (Name of Database)
                myConnectionInfo.UserID = MyUid (Userid for SQL Database)
                myConnectionInfo.Password = MyPwd (Password for SQL Database)
                MyReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
                MyReport.Load(Path.GetFullPath(".") & "\" & MyReportFile)
                MyReport.SummaryInfo.ReportTitle = MyReportTitle  (Title passed to the report)
                MyReport.SummaryInfo.ReportComments = MyReportComments   (Comments passed to the report)
                SetDBLogonForReport(myConnectionInfo, MyReport)
              MyReport.SetParameterValue("MySequence", MyReportKey)  (Parameter passed to select single record in table)
               MyReport.SetParameterValue("MyPhotoLocation", sPhotoLocation)  (Physical Location of Photograph \\Server\Photos\)
                CrystalReportViewer1.ReportSource = MyReport
                'handle any exceptions
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Report could not be created", MessageBoxButtons.OK)
            End Try
        End Sub
        Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
            Dim myTables As Tables = myReportDocument.Database.Tables
            Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
            For Each myTable In myTables
                Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                myTableLogonInfo.ConnectionInfo = myConnectionInfo
                myTable.ApplyLogOnInfo(myTableLogonInfo)
            Next
        End Sub
    End Class
    In the Crystal Report the Graphic Location formula field takes the {?MyPhotoLocation} + {Table.Photo} field to display the picture.  I have placed the parameter and the photo field on the report and the correct data is in the fields.
    This is the exact same form being opened and that displays correctly from the listing screen.
    Joel
    Edited by: JYaeger on Aug 8, 2009 2:56 AM

Maybe you are looking for