Failed to load database information. Error in File temp_

Our environment:
Windows Server 2012 R2 Data-center Edition 64 bit
Visual Studio Pro 2013 Version 12.0.3.30110.00 Update 1
.Net 4.5.51641
Crystal Reports for VS 2013 V13.0.9.1312
Oracle ODAC 11.2.0
We created a winform application to generate a form letter report that runs fine within the IDE. When we build the the exe and copy it from the project folder to a folder on the C:\drive of this same pc and try to execute it we get these error messages (partial list);
CrystalDecisions.CrystalReports.Engine.DataSourceException: Failed to load database information.
Error in File temp_d55286fc-26ee-4216-9062-3e32380313ab {B640FD39-66AC-4B6E-995D-7218BB48A992}.rpt:
Failed to load database information. ---> System.Runtime.InteropServices.COMException: Failed to load database information.
Error in File temp_d55286fc-26ee-4216-9062-3e32380313ab {B640FD39-66AC-4B6E-995D-7218BB48A992}.rpt:
Failed to load database information.
   at CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.ReplaceConnection(Object oldConnection, Object newConnection, Object parameterFields, Object crDBOptionUseDefault)
   at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val, Type type)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)
   --- End of inner exception stack trace ---
   at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataSet dataSet)
   at cr3Test.Form1.Form1_Load(Object sender, EventArgs e)
Here is the app:
Imports System.Data.OleDb
Imports System.Data
Imports System
Imports System.Windows.Forms
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
        Dim crReportDocument As New CrystalReport3()
        Dim DataSet1 As DataSet
        Dim adoOleDbConnection As OleDbConnection
        Dim adoOleDbDataAdapter As OleDbDataAdapter
        Dim connectionString As String = ""
        connectionString = "Provider=OraOLEDB.Oracle;"
        connectionString += "Data Source=ourdb;"
        connectionString += "User ID=ouruserid;Password=ourpsw"
        adoOleDbConnection = New OleDbConnection(connectionString)
        Dim sqlString As String = "select * from TEMP_FRI_LETTERS"
        adoOleDbDataAdapter = New OleDbDataAdapter(sqlString, adoOleDbConnection)
        DataSet1 = New DataSet()
        adoOleDbDataAdapter.Fill(DataSet1, "TEMP_FRI_LETTERS")
        'Dim xmlPath As String = "C:\Temp\test.xml" ' use these two statment s to verify dataset works
        'DataSet1.WriteXml(xmlPath, XmlWriteMode.WriteSchema)
        crReportDocument.SetDataSource(DataSet1)
        crReportDocument.PrintOptions.PrinterName = "HP_LaserJet_4350_PCL_5e_Info_Tech"
        crReportDocument.Refresh()
        crReportDocument.PrintToPrinter(1, False, 0, 0)
        DataSet1.Dispose()
        adoOleDbDataAdapter.Dispose()
        adoOleDbConnection.Close()
        adoOleDbConnection.Dispose()
        crReportDocument.Dispose()
        Me.Close()
    End Sub
End Class
Here is the app.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
    </startup>
    <system.windows.forms jitDebugging="true" />
</configuration>
We have the CPU set to x86 as we are ultimately trying to generate a 32 bit app for XP and Win 7. We only installed the 32 bit run time on this pc because we have no intention of going to 64 bit apps on the clients. Are there additional dlls or something that has to be installed in the same folder as the exe on this development machine.
Bruce

Looking at the AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_myprograminfo led us to the last dll loaded being:
LoadedModule[211]=C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crdb_adoplus_res_en.dll
State[0].Key=Transport.DoneStage1
State[0].Value=1
FriendlyEventName=Stopped working
Scanning the community for "crdb_adoplus_res_en.dll" we got a hot on this issue again:
Failed to load database information. Error in File temp_
From the above we found this:
1. the app.exe.config is all in one package which cannot be separated with the EXE file.
2. the supporting component such as dll files, app.exe.config etc CANNOT be combined into the EXE file
Adding the cr3Test.exe.config to the same folder as the cr3Test.exe RESOLVED the problem on Win 7. It also RESOLVED the problem on Server 2012 R2.
We still need to test on Server 2008 R2 but we are hopeful when that time comes.
Thanks.
Bruce

Similar Messages

  • Crystal Reports exception: "failed to load database information" error in file guid.rpt file

    Please also see attachment (same info as below).
    Background
    This code works in windows XP (32 bit), using/complied VS2005 with no problems.
    Please contact:
    Hamid Deljoo at work 416-867-8977 (8am to 4pm EST)
    Problem is:
    We are migrating this code from XP to windows 7 (using win7 64bit for development to be deployed on win7 PCs 64bit).
    When trying to display a crystal report (.rpt) an exception is raised.
    Exception info is:
    CrystalDecisions.CrystalReports.Engine.DataSourceException was unhandled by user code
      Message=Failed to load database information.
    Error in File wbstats {CC56070D-0873-4815-BAD5-0DA0FBAEDCB6}.rpt:
    Failed to load database information.
    Source=CrystalDecisions.ReportAppServer.DataSetConversion
      StackTrace:
          at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
          at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
          at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
          at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
          at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export(ExportOptions options)
          at net.bmogc.cas.ui.ReportViewer.LoadStatsReport(String warmBodyCode) in c:\Projects\Juniper\CAS_.NET2.0_Win7_64bit\CASApplication\CASNet\ReportViewer.cs:line 739
          at net.bmogc.cas.ui.WarmBodyManage.Stats() in c:\Projects\Juniper\CAS_.NET2.0_Win7_64bit\CASApplication\CASNet\WarmBodyManage.cs:line 873
          at net.bmogc.cas.ui.WarmBodyManage.CASAuthgation_ToolStripItem_Click(Object sender, EventArgs e) in c:\Projects\Juniper\CAS_.NET2.0_Win7_64bit\CASApplication\CASNet\WarmBodyManage.cs:line 593
          at net.bmogc.cas.ui.CASAuthgation.<>c__DisplayClass15.<CreateToolStripItem>b__14(Object sender, EventArgs e) in c:\Projects\Juniper\CAS_.NET2.0_Win7_64bit\CASApplication\CASNet\Common\CASAuthgation.cs:line 1242
          at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
          at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
          at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
          at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
          at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
          at System.Windows.Forms.Control.WndProc(Message& m)
          at System.Windows.Forms.ToolStrip.WndProc(Message& m)
          at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
          at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
      InnerException: System.Runtime.InteropServices.COMException
          Message=Failed to load database information.
    Error in File wbstats {CC56070D-0873-4815-BAD5-0DA0FBAEDCB6}.rpt:
    Failed to load database information.
          Source=""
          ErrorCode=-2147482931
          StackTrace:
                at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
                at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
          InnerException:
    Background info is:
    Vs2013 (update 3, latest version) is used.
    Installed:  Crystal Reports, Support Pack 10 (v. 13.0.10.1385), using 64 bit
    VS2013 build settings.

    What database are you using?
    What database client?
    How are you connecting to the database (ODBC, OLE DB, etc.)?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Failed to load database information.Error in File BillReport {Some numbers}.rpt

    Hi Team I am having problm with Crystal Report for Visual Studio 2013.
    I have developed windows application with Crystal Report and Visual Studio 2010.
    Now when i try to run same code in VS 2013 with Crystal report for VS 2013. i am getting following error.
    Failed to load database information.
    Error in File BillReport {A677B982-B8FC-4349-8BE6-9D1DA6B33521}.rpt:
    Failed to load database information.
    Source : "CrystalDecisions.ReportAppServer.DataSetConversion"
    I have used oledb connection to fill XML dataset.
    That dataset is binded to Crystal report at run time..
    Here is my code.
    string sqlstr = "";
                    sqlstr = "select * from billMaster where billid =  " + billId + " and merchantName = '"+merchantName+"' ";
    cmd = new OleDbCommand(sqlstr, m1.ccon);
                    if (m1.ccon.State == ConnectionState.Closed)
                        m1.ccon.Open();
                    OleDbDataAdapter da = new OleDbDataAdapter(sqlstr, m1.ccon);
                    BillPrint bp = new BillPrint();

    <startup useLegacyV2RuntimeActivationPolicy="true">
    </startup>
    is the solution man.
    Thanks a lot...
    I tried this one also..
    Try saving the DS ( bp ) to xml format and have a look at the data, it may be a data field type has changed with the new OLEDB driver in VS 2013. This may be what Dell is referring to...
    Try this:
    bp.WriteXml("c:\\sc.xml", XmlWriteMode.WriteSchema);
    Then set the report to the xml data source:
    System.Data.DataSet ds = new System.Data.DataSet();
    ds.ReadXml(@"C:\App_Data\sc.xml", XmlReadMode.ReadSchema);
    rpt.SetDataSource(ds);
    but it didn't help..
    anyway
    <startup useLegacyV2RuntimeActivationPolicy="true">
    </startup>
    this one is solution..

  • Crystal report "Failed to load database information" error after publish

    I have seen similar questions, but none of the answers seem to apply to my situation.
    I am upgrading an older web application to Visual Studio 2013, using the SAP Visual Studio Crystal Reports tools. Everything works great until I publish.
    I have two sorts of reports: Some that export to Excel, and some that export to PDF. All work fine within Visual Studio. However, when I publish, the reports that should go to PDF give me the following error.
    Failed to load database information.Error in File [Report Name] {GUID}.rpt
    I have seen several posts that indicate that this could be a 32/64 bit issue. I am using a newer 64 bit SQL database, and this is an old application. I have it set to Any CPU. However, since the reports work fine in Visual Studio, I don't see how this could be the issue.
    Any other ideas?
    Thanks,
    Geoff Callaghan

    Hi Geoff
    This is definitely not due to the export type. Rather it will be due to a db issue of some sort. My suspicion is that reports that work use a different type of connection that reports that fail. E.g.; the reports that work use OLE DB, those that fail use ODBC and the ODBC datasource is 32 bit, not 64 bit(?). E.g.; check the database connections between reports that work and those that do not. And remember to also check the connections in subreports (if any).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • "Failed to load database information" error

    I know there are many threads on this error, but none appear to apply to my situation.  We distribute CR2008 reports with our C#.NET application, connecting to a SQL Server 2005 db .  We have had very few problems with our reports, with the exception of one customer.
    The customer has five installations of our software, all on WinXP 32-bit machines, all connecting to the same SQL Server 2005 database, and all pulling their report files from the same shared network location.  Four of the five machines can run reports just fine.  The fifth machine pops this error on every report:
    Exception Source: rptcontrollers.dll
    Exception Type: System.Runtime.InteropServices.COMException
    Exception Message: Failed to load database information.
    Error in File Job Info {FC802C7B-B9AD-4121-8D9E-81E3A405A6DC}.rpt:
    Failed to load database information.
    Here is the code that launches the report:
    CrystalDecisions.CrystalReports.Engine.ReportDocument report = new ReportDocument();
          report.Load("C:\\Repository\\Job Info.Rpt");
          // Setup the Crystal ConnectionInfo
          IConnectionInfo iConnectionInfo = report.DataSourceConnections[0];
          SqlConnectionStringBuilder csBuilder = new SqlConnectionStringBuilder(AppSettings.ConnectionString);
          iConnectionInfo.SetConnection(csBuilder.DataSource, csBuilder.InitialCatalog, csBuilder.UserID, csBuilder.Password);
          foreach (CrystalDecisions.CrystalReports.Engine.Table table in report.Database.Tables)
             TableLogOnInfo tableLogonInfo = table.LogOnInfo;
             // Need to set the password here as well
             table.LogOnInfo.ConnectionInfo.Password = csBuilder.Password;
             // If this is SQL 2008, fix the provider
             if (AppSettings.SQLServerVersion == 10)
                table.LogOnInfo.ConnectionInfo.LogonProperties.Set("Provider", "SQLNCLI10");
             table.ApplyLogOnInfo(tableLogonInfo);
             table.LogOnInfo.ConnectionInfo.Password = csBuilder.Password;
          new ReportViewerDialog(reportDocument).ShowDialog(this);
    We have done the following:
    1. We have uninstalled and re-installed the CR2008 MSI on that machine, with no change. 
    2. We have confirmed that the machine has full access to the directory where the reports are located.
    3. We have confirmed that the machine is set to the same default printer as the working machines, and can print to it.
    4. We have confirmed that the app itself has full functionality apart from the reports.
    5. We have confirmed that SQL Native Client is installed.
    6. The customer is not aware of any other unusual behavior on that machine (though our support tech did note unusually long reboot times).
    I'm out of ideas at this point.  If anyone has any suggestions, I'd be very appreciative.
    Ron Moses
    ConEst Software Systems

    > Use Modules.
    We do use merge modules in our install, but we know of no other way to uninstall/re-install Crystal than using the MSI.
    > Then compare the lists between working and none working Reports and PC's.
    No reports work on the one PC, all reports work on the other four.
    > Also, the SQLNCLI10.dll is for MS SQL Server 2008 and I doubt it should be used with SQL 2005. Set log on info and use the SQL Native client SQLNCLI.dll driver. Could also be related to that client engine causing the delays.
    The code only uses the 2008 DLL if it detects that the db is 2008, otherwise it uses the 2005 dll.  We officially support 2005, and include 2005 Express in our install, but we do have a small number of users who are already running their own 2008 instances, so we include this code to support them.
    Ron Moses

  • Crystal 2011 Failed to load database information error when upgrading from 2008.

    I'm unable to get past this error.   Error in File ~tmp34887ec5d7e6780.rpt: Failed to load database information.
    Configured Windows 2008 64 bit Server
    Installed Crystal Report Server 2011 - BI Enterprise 14.0.0
    Oracle 11g 64 bit version
    I can test the connection with success.  I can also run the tnsping command without issues.
    I pubished several working reports from Crystal 2008 to the new server with Crystal 2011.    Every time I run a report, I end up with the generic connection error: Error in File ~tmp34887ec5d7e6780.rpt: Failed to load database information.
    I saw a post that suggested installing the 32 bit Oracle Client first, and then the 64 bit client, but there was no indication that this would fix the error.  Does anyone know if that is infact the solution, or are there other underlaying issues?
    Thanks,
    Sue

    Hi Sue,
    Make sure you have 32 Bit version Oracle Client installed on your server as CR2011 is a 32 bit application and CR2011 Processing Server is also 32 bit.
    Check for the required Environment variables:
    Navigate to Start -> Control Panel -> System.
    Navigate to Advance system settings -> Environmental Variables.
    Under the user's variable check the environmental variable as given below if any difference make the changes:
    ORACLE_HOME=<64-bit version of the Oracle client>
    ORACLE_HOME32=<32-bit version>
    PATH=<64-bit version>
    PATH32=<32-bit version>
    BOE_USE_32BIT_ENV_FOR=ORACLE_HOME,PATH
    OR
    Install Oracle client as ‘Runtime’ install, then there is no need to set the Environment variables.
    If the Oracle client is installed prior to Business Objects then just restart the BO servers to make it working.
    I am assuming that you are recieving the error from BI launchpad so this post should have been on
    SAP BI
    - Shahnawaz

  • Error Failed to load database information - access report from jsp in linux

    Hi,
    While accessing the report from my jsp file I got the below error. I am using Crystal Report Server 2008 V1 in linux environment.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Failed to load database information.
    Error in File rpt_dp_customer_stmt {9515FCCB-0245-11E0-9DA4-000C29D5AD7D}.rpt:
    Failed to load database information.---- Error code:-2147482931 Error code name:failed
         com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
         com.crystaldecisions.proxy.remoteagent.s.a(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.z.a(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ak.if(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ad.int(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.bk.for(Unknown Source)
         com.crystaldecisions.proxy.remoteagent.v.a(Unknown Source)
         com.crystaldecisions.proxy.remoteagent.v.if(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(Unknown Source)
         org.apache.jsp.formula_jsp._jspService(formula_jsp.java:117)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Moreover, in my jsp i am passing the data base parameter like below,
    PropertyBag logonProperties = new PropertyBag();;
        mainPB.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, logonProperties);
        mainPB.put(PropertyBagHelper.CONNINFO_DATABASE_DLL, "libcrdb_jdbc.so");
        logonProperties.put("Database Class Name", "oracle.jdbc.driver.OracleDriver");
        logonProperties.put("Use JDBC", "true");
        logonProperties.put("Connection URL", url);
        logonProperties.put("Server", dbserver);
    Also I set the LD_LIBRARY_PATH in linux machine, because i have the libcrdb_jdbc.so file on that path.
    /home/ReportServer/bobje/enterprise120/linux_x86/crpe/

    Its working. I gave crdb_jdbc.dll name in the connection info

  • Linux - Oracle - Crystal Report Server XI : Error in File Report1: Failed to load database information.

    I am using Crystal Reports Server XI on Linux Server with Oracle Server 10g.
    I did install Oracle Client on Report Server and config Oracle SID in tnsnames.ora also. It works well with tnsping command. Then, I published a report which was created in Crystal Reports developer on this server.
    When I preview the report on Report Server. I got the following error message:
    Error in File Report1: Failed to load database information.
    Try to fix the problem I ran web Central Management Console -> Objects ->Report1->Process -> Database and set there the following parameters:
    Database driver: Oracle
    Server: servers_host_name
    Database: (tried both ORACLE_SID and tns_name)
    User: oracle_user_name
    Password: oracle_pw
    It still got the same problem.
    I will appreciate any help.
    Tham.

    I was having a similar problem in Crystal Reports Server 2008 v1, and had to install the full client to resolve it, which I didn't like.  I poked around some, and was able to get the Instant Client working with a few minor changes.  Note that I tried it only with the 32-bit Instant Client even though I was on a 64-bit system because that was what SAP recommended when I talked to them.
    The changes I had to do was initialize the Oracle environment variables (the instant client doesn't have a script to do this for you) and to create a soft-link which is included in the full client, but not in the instant client.
    To setup the environment variables I created a file called env.sh and put it in /opt/crystal/bobje/setup/oracle/, where /opt/crystal was my install path.  This ensured that it got called by the /opt/crystal/bobje/setup/env.sh script which runs as part of the System init scripts to initialize the environment.  The following is what I put in my file (again for the 32-bit 11g R2 instant client):
         export ORACLE_SID=summitdb
         export ORACLE_HOME='/usr/lib/oracle/11.2/client'
         export ORACLE_BASE='/usr/lib/oracle/'
         export TNS_ADMIN='/usr/lib/oracle/11.2/client/network/admin'
         export PATH="$:/usr/lib/oracle/11.2/client/bin"
         export LD_LIBRARY_PATH="$$/usr/lib/oracle/11.2/client/lib"
    After that, I created the missing soft link using this command:
         ln -s "$/lib/libclntsh.so.11.1" "$/lib/libclntsh.so.10.1"
    Once I had done those two things, and restarted the service using the /etc/init.d script, it worked fine.

  • Failed to load database information. Error in File ReportName {E420E88A-5947-4925-844E-75E6311D3EB3}.rpt: Failed to load database information.

    Hi All,
    We've been running CR for VS2010 for a number of years in our web app without any issues. Using the same code we recently upgraded our application to support x64 and we have run into this error on our QA servers:
    Failed to load database information. Error in File ReportName{Guid}.rpt. Failed to load database information.
    Here's are server setup:
    Windows Server 2012 Datacenter x64
    SAP Crystal Reports Runtime Engine for .Net Framework (64-bit)
    IIS 8
    Database Server
    Oracle 12c
    Interestingly, Crystal Reports works fine on our dev machines and it also works on our dev machines if I connect to the QA Database server directly. So I've ruled out any Oracle issues.
    I believe the permissions are set up correctly for CR to run, but I'd like to know what permission CR needs to run. I can't find a definite answer reading the forum posts or on the WIKI.
    I've used Process Monitor and there seems to be some permission issues with the uf12manager.DLL. See attached document.
    I'm really stuck here and any help is appreciated.
    Thanks!

    Nothing to do with UFL manager, that may be a missing dependency.
    Search on a kbase on how to enable crlogger, that may tell you what is failing.
    Typical Oracle issues on a 64 bit app is I believe you need to install the Oracle 64 bit Client and then 32 bit client.
    Do we support Oracle 12? No we don't...
    See this PAM for more info:
    SAP Crystal Reports 2011 Product Availability Matrix (PAM)
    Open the link for the Database connectivity....
    Don

  • Error in File file path Failed to load database information

    I've search the forums and haven't been able to find a solution or understanding of the problem.
    I'm getting the message:
    Error in File d:\temp\procSched\jafapennp005.enne.entergy.com.jobserver\~tmp173854eb868aa00.rpt: Failed to load database information. 
    When I have the scheduled report in Crystal Enterprise XI.  The report datasource is Oracle via OLE db.  This report is the only one that fails regularly.  If I run it on-demand in CMS, it also fails
    I changed the time from 06:00 Eastern to 04:00 Eastern, it ran for a while, now just fails consistently.  I am able to run it from my local Crystal install on my PC without issues.
    The report is a bit "piggy" and takes a while to format.
    Thank you in advance for any insights of what I can do to fix the problem.

    Hi, You mentioned that the report fails when scheduling and running on demand. However you said that you changed the time from 06:00 Eastern to 04:00 Eastern and the report ran for a while. That means the middleware configuration on your server is probably ok. Can you clear your logging directory and activate the trace for your cr pageserver and the cr jobserver. Run the report on demand in infoview and schedule it. Check your trace for any hints.
    Regards,
    Tim

  • CR VS 2013 error: Additional information: Failed to load database information.

    We have VS 2008 (V9.0.30729.1 SP1) using .Net 3.5 under Windows Server 2003 R2 Data Center Edition. VS 2008 came with Crystal Reports Version 10.5.3700.0. We developed a little report in a winform to run against Oracle 11gR2 using the OLE DB support in the CR Report Wizard in the VS 2008 IDE. It was a standard report with some code to print the report directly to the printer with out the viewer control. Here is the working code:
    Imports System.Data.OleDb
    Imports System.Data
    Imports System
    Imports System.Windows.Forms
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
        Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim crReportDocument As New CrystalReport1()
            Dim DataSet1 As DataSet
            Dim adoOleDbConnection As OleDbConnection
            Dim adoOleDbDataAdapter As OleDbDataAdapter
            Dim connectionString As String = ""
            connectionString = "Provider=OraOLEDB.Oracle;"
            connectionString += "Data Source=OURDBNAME;"
            connectionString += "User ID=OURUSERID;Password=OURPSW"
            adoOleDbConnection = New OleDbConnection(connectionString)
            Dim sqlString As String = ""
            sqlString = "SELECT * FROM edi_filing_source_lov where filing_source_code in ('A','E')"
            adoOleDbDataAdapter = New OleDbDataAdapter(sqlString, adoOleDbConnection)
            DataSet1 = New DataSet()
            adoOleDbDataAdapter.Fill(DataSet1, "edi_filing_source_lov")
            crReportDocument.Database.Tables(0).SetDataSource(DataSet1)
            crReportDocument.PrintOptions.PrinterName = "HP_LaserJet_4350_PCL_5e_Info_Tech"
            crReportDocument.Refresh()
            crReportDocument.PrintToPrinter(1, False, 1, 99)
            Me.Close()
        End Sub
    End Class
    We want to migrate this report to VS 2013. We installed VS 2013 Professional (V12.0.30110.00 Update 1) under Windows Server 2012 R2 Data Center Edition. We downloaded CRforVS_13_0_9 and installed it in VS 2013. We moved the project from VS 2008 and opened it under VS 2013. It looks like it converted OK. When we run it we get the following error:
    An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in CrystalDecisions.CrystalReports.Engine.dll
    Additional information: Failed to load database information.
    Error in File temp_f11eb1be-db98-4d33-800c-4db3b36ab14e {EEB2A9E4-8239-49CB-B016-8CE4F4C7643E}.rpt:
    Failed to load database information.
    More information: We can step through the wizard in VS 2013 using the standard template and add a report viewer control to the form and point it at the report and run it just fine in the VS 2013 IDE when there is no code in the form1_load event. We feel we have the Oracle.DataAccess.dll for the 11.2.0 client installed and tested correctly on the server and do not feel there is an issue with data base installation. When we add back the code above to the form1_load event and run it we get the error above.
    We have the logger set up but nothing gets added to the log files.
    We have tried three different ways to set the data source to resolve the error that is occurring at this line of code that is failing but with no luck:
    crReportDocument.Database.Tables(0).SetDataSource(DataSet1)
    crReportDocument.SetDataSource(DataSet1)
    crReportDocument.Database.Tables(0).SetDataSource(DataSet.Tables("edi_filing_source_lov"))
    Do you have any other suggestions we could try?
    Bruce

    Hi Bruce
    In my experience, the only reason for the error is that the there is an issue with the dataset and as a back up sort of a thing, the report engine is attempting to connect to the database the report was created off of. To test the dataset with the report, see this wiki on how to.
    Also, ensure that you have a look at this KBA.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Failed to load database information. Error in {GUID}.rpt

    Hi
    I have a C# windows service that load a rpt file and export it to PDF
    I am required to use XML as data source for the rpt file, and in the IDE of CR 2013 it always works fine via local XML file, and also I create a http/https pages which returns a XML stream, it still works,  preview fine.
    And then I debug into my unit test project, load the rpt file, set the necessary parameters, and at last call the ReportDocument.Export(), the PDF was generated successfully.
    But when I deploy the windows service in my local machine, it always throw out an exception with the error message of “Failed to load database information. Error in {GUID}.rpt” at ReportDocument.Export().
    Here is the environment of my local machine:
        Windows 7 (64 bit)
        NET framework 4.0 / VS2010 build with “Any CPU”
        CR2013 with the latest run-time packages for VS
        I also have crdb_xml.dll in both of the following paths:
    C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64
    C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86
    I doubt that I missed something in my environment, is there any suggestions? Thanks a lot!

    Thank you for your advice!
    I have deployed the crdb_xml driver as the steps mentioned in your links, it resolved previous error. Thanks a lot!
    But now I encountered another problem, ok, here is my work flow:
    1. I create two separate .net pages which return xml stream for my report file, one for main report and the other for the sub report. And these pages need to pass parameters.
    2. I create http/https URL xml data source for both the main report and sub report, also I added the parameters in the end of my creation by @prompt function.
    3. Then I preview my report, enter the necessary parameters in the pop-up window, and click “OK”, the xml data returned from my URL and displayed correctly in my report.
    4. Then I test into my windows service:
    1) Create an object of CrystalDecisions.CrystalReports.Engine.ReportDocument() named rptDoc to load my report file.
    2) Set parameters to rptDoc via the function of rptDoc.SetParameterValue()
    3) Apply my logonInfo and attributes information
    4) rptDoc.Export().
    Then I got my problem, the parameters did not send to my .net pages all the while, but it is worked fine if I previewed the report in CR 2013 design tool.
    Is it the problem that I missed some settings in my .net code or any way CrystalReport.Engine did not support to pass parameters to a report with http/https xml data source?
    I am blocked by this issue, any suggestion? Thanks!
    For your reference, here is the .net page which is trying to catch the parameters
    foreach (var item in Request.Params)
    paramsList.Add(item.ToString());
                    ExceptionManager.InsertException(new Exception(string.Join(",", paramsList)));
                    BrokerEntity broker = null;
                    string ifpPSID = Params.ReplaceNullWith(Request["@IFPPSID"], Null.NullString).ToString();
    When preview the report in CR 2013 design tool, we get following string for “Request.Params”
    “@IFPPSID,ASP.NET_SessionId,ALL_HTTP,ALL_RAW,APPL_MD_PATH,APPL_PHYSICAL_PATH,AUTH_TYPE,AUTH_USER,AUTH_PASSWORD,LOGON_USER,REMOTE_USER,CERT_COOKIE,CERT_FLAGS,CERT_ISSUER,CERT_KEYSIZE,CERT_SECRETKEYSIZE,CERT_SERIALNUMBER,CERT_SERVER_ISSUER,CERT_SERVER_SUBJECT,CERT_SUBJECT,CONTENT_LENGTH,CONTENT_TYPE,GATEWAY_INTERFACE,HTTPS,HTTPS_KEYSIZE,HTTPS_SECRETKEYSIZE,HTTPS_SERVER_ISSUER,HTTPS_SERVER_SUBJECT,INSTANCE_ID,INSTANCE_META_PATH,LOCAL_ADDR,PATH_INFO,PATH_TRANSLATED,QUERY_STRING,REMOTE_ADDR,REMOTE_HOST,REMOTE_PORT,REQUEST_METHOD,SCRIPT_NAME,SERVER_NAME,SERVER_PORT,SERVER_PORT_SECURE,SERVER_PROTOCOL,SERVER_SOFTWARE,URL,HTTP_CONNECTION,HTTP_ACCEPT,HTTP_HOST,HTTP_USER_AGENT,HTTP_FRONT_END_HTTPS”
    When run in windows service, we get following string without parameters “@IFPPSID”
    “ASP.NET_SessionId,ALL_HTTP,ALL_RAW,APPL_MD_PATH,APPL_PHYSICAL_PATH,AUTH_TYPE,AUTH_USER,AUTH_PASSWORD,LOGON_USER,REMOTE_USER,CERT_COOKIE,CERT_FLAGS,CERT_ISSUER,CERT_KEYSIZE,CERT_SECRETKEYSIZE,CERT_SERIALNUMBER,CERT_SERVER_ISSUER,CERT_SERVER_SUBJECT,CERT_SUBJECT,CONTENT_LENGTH,CONTENT_TYPE,GATEWAY_INTERFACE,HTTPS,HTTPS_KEYSIZE,HTTPS_SECRETKEYSIZE,HTTPS_SERVER_ISSUER,HTTPS_SERVER_SUBJECT,INSTANCE_ID,INSTANCE_META_PATH,LOCAL_ADDR,PATH_INFO,PATH_TRANSLATED,QUERY_STRING,REMOTE_ADDR,REMOTE_HOST,REMOTE_PORT,REQUEST_METHOD,SCRIPT_NAME,SERVER_NAME,SERVER_PORT,SERVER_PORT_SECURE,SERVER_PROTOCOL,SERVER_SOFTWARE,URL,HTTP_CONNECTION,HTTP_ACCEPT,HTTP_HOST,HTTP_USER_AGENT,HTTP_FRONT_END_HTTPS”

  • Error "Failed to load database information" al abrir un informe en BO

    Tengo un informe guardado en BO XI que utiliza una base de datos de Lotus Domino 6.5.6. Cuando lo abro desde Crystal Reports para diseñarlo, lo carga sin problemas, pero cuando acceso desde infoview para ejecutarlo, se muestra el mensaje "Failed to load database information".
    El servidor BO XI esta instalado en Windows 2003 Server y el servidor Lotus Domino en Solaris.
    ¿Qué esta sucediendo? ¿es necesario abrir algun puerto o cambiar alguna configuracion?

    Hi Tejas and all,
    We have the exactly same error, with exactly the same syntax , using both an rpt-file from CR9.0 and one from CR XI.
    (using Crystal XI Server)
    We get the same error in VS2005 and VS2008
    Did you find a solution?
    Uffe

  • Error:  Failed to load database information.

    Post Author: ph03nix
    CA Forum: Data Connectivity and SQL
    I have recently had my computer reimaged, with everything reinstalled.  I have some CR reports that I was in the process of developing prior to the reimage.  These were working previously, but are now all giving the following error:
    Failed to load database information.
    Details: The database connector "crdb_oracle.dll" could not be loaded.
    I've done a search on my PC, and there are 3 copies/versions of this file, located in the following directories:
    \Business Objects\bin\Crystal Decisions\2.0\bin~\Crystal Desicions\2.5\bin
    I am new to CR, trying to figure it out as I go along.  I am currently the only person using CR. (OS is XP - I do not have admin privileges on my PC). Any ideas/suggestions on how to correct this? 
    Thanks!

    Its working. I gave crdb_jdbc.dll name in the connection info

  • Unable to retrieve Object.  Failed to load database information

    I am getting the following error when trying to run my reports from Crystal XI with SQL Server 2005.
    CrystalReportViewer
    Error in File 180+DAYREP.EWARP: Failed to load database information.
    Unable to retrieve Object.
    Error in File 180+DAYREP.EWARP: Failed to load database information.
    I have done some research on this but no luck on resolving the issue.
    Any suggestions are welcome thanks.

    First thought is that the application cannot access the DSN or database driver that the report was designed on, this could be permissions.
    I tried to ping my database and was unable to find the host.  I was under the assumption it was using TNSNames which is able to resolve. 
    How can I validate the permissions?
    As I said I'm a little lost here.  Apologies if I ask stupid questions.

Maybe you are looking for