Crystal Report Error Failed to load Database logon Information

Hi Experts,
We developed a Crystal reports fetching data from a BI Query. When we run the report from Crystal Report Desginer it runs perfectly. 
When I schedule the report in the CMC / Infoview, I am getting a error message saying:
"<REPORT NAME> Failed to load database logon Information."
We have checked the database configuration in CMC for this report. BI system hostname and the other necessary credentials are fine.
Please suggest us on how we go about understanding the cause of the error.
Crystal Reports 2008 SP2
OS --> AIX
Best Regards,
Suchindra.

Moved to SAP Integration kit forum

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

  • Crystal reports 2010:Failed to load database information

    Hi guys,
    I had a vb.net project with crystal reports 2010 for the reporting.The report works fine inside vs 2010.I tried to build an installer for my project using 'Advanced installer'. In Advanced installer there's an option to import the run time engine for crystal reports for .net framework 4.0 which is 'CR Run time 64bit 13_0_1' but since my system and other target systems are 32 bit,I figured to also import the 32-bit version.
    But first when i followed the path for the package there was nothing so i downloaded both 32 and 64 bit run time engine then located them i that path.
    Just for the information,when i installed crystal reports on my PC,i think it installed 'Crystal Reports for visual studio'
    So i built the installer and installed it on my PC but when it try to view the report it crashes.I also try to install it on another PC and it throws this exception:
    CrystalDecisions.CrystalReports.Engine.DataSourceException: Failed to load database information.
    Error in File CrystalReport6 {566E2F0C-8C45-4647-8017-15BD6DB1F195}.rpt:
    Failed to load database information. ---> System.Runtime.InteropServices.COMException: Failed to load database information.
    Error in File CrystalReport6 {566E2F0C-8C45-4647-8017-15BD6DB1F195}.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)
    What am i missing?

    You have two distinct issue here - one on your dev computer and an unrelated on on the deployed computer.
    First your deployment project.
    You have to decide how you want to compile the app; 32 bit, or 64 bit?
    For 32 bit app, use the 32 bit msm file
    For 64 bit app use the 64 bit msm file
    Next, you are using Service Pack 1, current SP is #9, so update both your CRVS install (using the install exe) and the deployment project with the correct msm. Links to the msm files and the install exe are in this doc:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Once you have SP 9 installed, recompile your app making sure it still runs. Then build your deployment project and deploy. See what happens then...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal Reports 2008: Failed to load database information

    Hi,
    I have an application (windows forms) that loads a report as a ReportDocument, and prints it to a predefined printer.
    This report is drawing its data from an xml file with an xml schema, both of which have hardcoded paths in the report.
    I have built the project into an installer and have installed it on my local machine. Works great, prints fine.
    However whenever I install it on another machine (and thus deploy the redistributable) I get the following error when the user tries to print.
    CrystalDecisions.CrystalReports.Engine.DataSourceException: Failed to load database information.
    Error in File temp_b647a5f7-7ab3-4f76-8154-0063f3b2b394 {1ADFD95E-D1A2-42A9-AC96-E8DBE2B9940A}.rpt:
    Failed to load database information. ---> System.Runtime.InteropServices.COMException (0x800002CD): Failed to load database information.
    Error in File temp_b647a5f7-7ab3-4f76-8154-0063f3b2b394 {1ADFD95E-D1A2-42A9-AC96-E8DBE2B9940A}.rpt:
    Failed to load database information.
    I have narrowed the exception in my code down to the following line (which I don't think is the problem)
    LabelToPrint.Load(Util.workingDirectory + "Labels\\" + fileName + ".rpt");
    LabelToPrint.PrintToPrinter(ps.PrinterSettings, ps, false);
    Is there something that I need to set up on the users system that I don't know about? Could the system not have ODBC capability? Any help would be greatly appreciated.
    Thanks,
    ~Adam
    PS. I am using VS2008

    A sugestion and a question:
    Make sure you are using SP 2:
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    msm:
    https://smpdl.sap-ag.de/~sapidp/012002523100009159092009E/cr2008sp2_mm.zip
    msi:
    https://smpdl.sap-ag.de/~sapidp/012002523100009159002009E/cr2008sp2_redistinstall.zip
    How are you conencting to the xml? Native (crdb_xml.dll), ODBC, etc.?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • 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

  • 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

  • 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

  • Crystal report Error "Failed to open the connection."

    I have an ASP.NET application that access a database through ODBC. There is a problem  when I run Crystal Report " Failed to open the connection. Failed to open the connection". Can someone tell me how can i overcome ths problem.

    Moved to .NET SDK forum.
    Search here, lots of posts on how to debug database access through a WEB app.
    Don

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

  • 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. Crystal Reports Server 2008

    Received the following error message:
    Error in File Relatorio4: Failed to load database information.
    I'm trying to run a report Crystal Reports 2008 in Crystal Reports Server 2008.
    Configuration:
    Driver connection: Oracle Server
    Server: Windows Server 2003 R2
    Any help would be appreciated!

    Hi   Vilari,
    What is the drivers you are using to connect to your database.
    Just check with the connection type  you are using.
    Is  the SQL connection with user credentials are working fine.
    Just try to connection with SQL 2000 drivers rather than 2005 native client drivers.
    Thanks,
    Naveen.

  • 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

  • Crystal Reports Server 2008 v1 - Failed to load database information.

    Hi,
    Running,
    Crystal Reports Server 2008 v1.
    MySQL database
    Oracle Application Server 10.1.3.5
    Redhat Enterprise Linux 5
    When running the a report I receive this,
    Error in File <report> - <database>: Failed to load database information.
    The database I am trying to running the report on is Oracle. Do I need to install some Oracle drivers (client)? Also, shouldn't the Oracle Application Server have drivers?
    I have also read a few ports stating the drivers are included with the crystal reports install ... true or false?
    Thanks.

    Still no go ..
    Installed the Oracle Client (type: runtime) and set,
    LD_LIBRARY_PATH="/data/oracle/oracle1/client/11gR2/lib"
    And restarted the Oracle Application Server.
    Any other ideas?

  • The migrated Crystal Report throws "The database logon information for this report is either incomplete or incorrect" error

    [ENVIRONMENT]
    Product version - BI4.1 SP03
    OS - Windows 2008 R2
    CMS Database - Oracle 11g
    Java Application Server - Tomcat7
    [ISSUE]
    Using the Upgrade Management Tool to completely migrate a BOXI3.1 SP3+FP3.6 to BI4.1 SP03.  The reporting database from both BOXI3.1 and BI4.1 are the same and so is the database logon credential.
    When viewing and refresh a migrated Crystal Report, it throws "The viewer could not process an event. The database logon information for this report is either incomplete or incorrect. [] ---- Error code:0 [CRWEB00000119]" error in both BI Launchpad and "The database logon information for this report is either incomplete or incorrect" in scheduled job.
    [STEPS TAKEN]
    - Update the Database Configuration with the SAME Oracle database password in CMC and "The database logon information for this report is either incomplete or incorrect" issue goes away.
    I search the SAP SMP and SCN forum and found no reference on this UMT and Crystal Report database logon problem.  Hope any of you have seen this problem and share if there is an ADAPT for it.
    Thank you in advance,
    Jin-Chong

    Hi,
    The BI4.1 SP03 server and client and Crystal Report 2013 SP03 developer and Crystal Report for Enterprise 4.1 SP03 are all installed onto this Windows 2008 R2 server.
    I am able to open the migrated report from CMS repository in Crystal Report 2013 SP03 developer and am able to refresh it with database logon password provided.  After save it back to the Enterprise, the database logon password field for this report in CMC becomes empty so that I have to enter the database password and choose "Use same database logon as when report is run" when viewing and scheduling report.
    What is interesting to me is that the UMT seems to migrate the report along the database logon password because I can see the encrypted password in the report database logon property in CMC.  The workaround is to reenter the database logon password in the report database logon property in CMC.
    With this said, there are hundreds of the Crystal reports and the workaround would consume lots of manual work by update each report's database logon password in CMC.
    For other customers who have more crystal reports, I wonder if there is an automated way to update the crystal report's database logon password on BI4.1 or if this is an isolated incident on my new BI4.1 SP03 environment.
    I run UMT in command line to perform livetolive migration, and my steps are listed below
    cd "E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\apps\upgradeManagementTool\jars\"
    "E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\bin\javaw.exe" -Xmx56g -Djava.library.path="..\..\..\..\win64_x64" -jar upgrademanagementtool.jar -internal_use_only_noversioncheck -responsefile LIVETOLIVEResponseFile.txt
    LIVETOLIVEResponseFile.txt:
    mode=livetolive
    source=edhc01nwapp65:6400
    sourceusername=Administrator
    sourcepassword=xxxxxxxxxx
    destination=WAPP246N:6400
    destinationusername=Administrator
    destinationpassword=xxxxxxxxxx
    logfile=E:\temp\livetolive.csv
    configparam:base_url=https://boprod.bsc.bscal.com/dswsbobje
    locale=en_US
    Regards,
    Jin-Chong

  • 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

Maybe you are looking for