Setting database information to be used during CR refresh

Hi all,
I am creating a crystal report which has 3 parameters. Two of them are date range parameters and are added to the SQL in the command window (created 2 parameters for them in the command window). The third parameter is a cascading list of values. After saving the report in BO XI R3 repository, I logged onto CMC to navigate to the report and then was able to set the database configuration.
When I access this report through Infoview, the report opens up fine. when I try to modify date parameters, it lets me do that and was able to refresh to get the new information. when i try to modify the third parameter which is a param with cascading list of values it is prompting to provide the db credentials. Is there someway to set these db credentials for the parameters so the db credentials screen doesnt pop up.
Thanks for your help
Joe.

Hello,
on which version of BPC are you running ?
Can you try to make all your SSIS variables upper case, it helped me on earlier versions of BPC.
Be aware too that if you have an instruction like GLOBAL(STR,some_value), BPC will do a string replacement within the MODIFYSCRIPT variable  : "STR" -> "some_value".
for example :
GLOBAL(STR,some_value)
TASK(STR TSK,....) will be replaced by TASK(some_value, ....).
Vladimir.

Similar Messages

  • How to set database information runtime with delphi 2007 vcl11

    hi
    i'm trying to set database information runtime. I'm using mssql express 2005 and doing the following to set database information at runtime.
    for x  := 1 to crpe1.Tables.Count do
    begin
      crpe1.LogOnInfo.Items[x].ServerName := server.text;
      crpe1.logoninfo.items[x].DatabaseName := database.text;
      crpe1.logoninfo.items[x].UserID:=username.text;
      crpe1.logoninfo.items[x].Password := pass.text;
    end;
    is above code correct to set the database information?
    Thanks in advance,
    Parv

    hi all,
    i resolved it somehow. thanks.
    Parv

  • Failed to load database information in linux

    Hi,
    I installed crystal report server 2008 v1 in suse linux 10 (64 bit). I designed report in windows by using crystal report developer edition XI.
    When i try to view the report in crystal report server 2008 v1 in suse linux error like "Failed to load database information"
    We are using oracle 10g which is running in another linux machine with in the network. We dont insalled oracle client in suse linux 10.
    Please help me to resolve this.

    Hi
      First make sure that You have installed/mounted Oracle 10g client on Suse linux machine where you have crystal report server 2008 v1
    if you plan to install 64-bit oracle 10g client then in LD_LIBRARY_PATH make sure to point to "lib32", as you need 32-bit lib files to refresh your report
    Regards
    Ashwini

  • Problem with Policy "Display information about previous logons during user logon"

    Hello,
    I've a problem with the Policy "Setting Display information about previous logons during user logon".
    It is applied correctly on computer, but I can't login anymore and message "Security policies on this computer are set to display information about the last interactive logon. Windows could not retrieve this information. Please contact your network administrator
    for assistance" is appearing.
    My home test domain has 2008 R2 functionality level since months, and I've raised my company infra level functionality to 2012 this morning. Both domain are making the same error.
    This is non-sense, so any idea how to troubleshoot it ? Thanks in advance ! ;-)
    PS : I was able to remove it in order to login again, no worries on this one...

    Did you follow the guidance in http://technet.microsoft.com/en-us/library/dd446680%28v=ws.10%29.aspx?
    Especially the following paragraph - the setting has to be applied to DCs and Members...:
    You configure last interactive logon through a GPO. You must configure the following setting for the GPO with domain controllers in its scope of management if you want to report last interactive logon information to the directory service:
    Computer Configuration| Policies | Administrative Templates | Windows Components | Windows Logon Options | Display information about previous logons during user logon = Enabled
    If you want to display last interactive logon information to the user, you must configure this setting for both the GPO with domain controllers in its scope of management as well as any GPO with Windows Server 2008 and Windows Vista client
    computers in its scope of management.
    Martin
    NO THEY ARE NOT EVIL, if you know what you are doing:
    And if IT bothers me - :))
    Restore the forum design -
    Martin-
    I'm struggling with the TechNet article you direct us to.  We see in the TechNet article that Last Login Notification works ONLY with Server 2008 R2 and Vista.  Do we interpret that correctly?
    We need it to work with Server 2003, Server 2008, Win7, Win8, Win8.1, Server 2012, et. al.
    What is the work around to enable *Last Login Notifications to Users* functionality for these OSs?
    Thanks in advance,
    Robin

  • Sharing Database Information

    If you create a flex 4.5 application that is using xml or php as a database for a desktop, can the same database information be shared using an andriod app?  For instance if they enter data on their desktop, and the app is placed on a USB stick could a tablet that uses andriod share the same data that was entered in the desktop?

    Try using the call setUserSessionProperty("propertyname", "propertyvalue");
    and then retrieve using SSOTokenManager.getInstance().createSSOToken(request).getProperty("propertyname")

  • Failed to load database information in Crystal 2011 using DB2 connection

    Hello,
    we have a Problem using Crystal Reports 2011 on SAP SBOP 4.0 SP2 Patch 10.
    BI 4.0 Server is running on AIX. The Datasource is an DB2 database a connect from the OS is possible.
    The x32 libarys of the DB2 client are availabe because the crystal 2011 reports server is running with 32 bit environment.
    While opening / executing the crystal 2011 report the following error occur: "failed to load database information".
    I've made a trace of crystal 2011 server with crlog. I found the following:
    2012-1-27-7-17-33       9371804 searchpath.cpp  379     Failed to load libcrdb_db2cli.so        1
    2012-1-27-7-17-33       9371804 qecommon.cpp    117     This value is write-only. File Name: "QEProperty.cpp". Line: 145       
    2012-1-31-13-8-23       9371804 QESession.cpp   445     Set Product View Locale: 1033   20
    2012-1-31-13-8-23       9371804 QESession.cpp   479     Set Preferred View Locale: 1033 20
    2012-1-31-13-8-23       9371804 QESession.cpp   501     Set Process Locale: 1033        20
    2012-1-31-13-8-23       9371804 qecommon.cpp    117     This property is currently in a read-only state and cannot be modified. File Name: "QEProperty.cpp".
    An ldd on the operating system says all libarys are availabe:
    bash-3.2$ ldd /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/libcrdb_db2cli.so
    /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/libcrdb_db2cli.so needs:
             /usr/lib/libC.a(shr2.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libetc.so
             /usr/lib/libC.a(ansi_32.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libBCM.so
             /usr/lib/libC.a(shr.o)
             /usr/lib/libC.a(shr3.o)
             /usr/lib/libc_r.a(shr.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libcxlibw.so
             /usr/lib/libpthreads.a(shr_xpg5.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libOCAhelperw.so
             /home/boeadm/sqllib/lib32/libdb2.a(shr.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libsatlw.so
             /usr/lib/libC.a(shrcore.o)
             /usr/lib/libC.a(ansicore_32.o)
             /usr/lib/libpthread.a(shr_comm.o)
             /usr/lib/libpthread.a(shr_xpg5.o)
             /usr/lib/libC_r.a(ansi_32.o)
             /usr/lib/librtl.a(shr.o)
             /usr/lib/libc.a(shr.o)
             /unix
             /usr/lib/libcrypt.a(shr.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libTraceLog.so
             /usr/lib/libiconv.a(shr4.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicuuc.so
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicui18n.so
             /usr/lib/libdl.a(shr.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libboez.so
             /usr/lib/libpthreads.a(shr_comm.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libebus.so
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libfssl.so
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/liblocale_fallback.so
             /home/boeadm/sqllib/lib32/libdb2osse.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2locale.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2g11n.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2osse_db2.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2genreg.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2install.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2trcapi.a(shr.o)
             /home/boeadm/sqllib/lib32/libdb2dascmn.a(shr.o)
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicudata30.so
             /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicuuc30.so
    bash-3.2$
    Does somebody have an idea where to search to get a solution for this error?
    PS: With Crystal for Enterprise 4.0 everything works fine, but the Crystal for Enterprise 4.0 services are running with 64 bit.

    Hello All,
    the Problem has been found by SAP. The Business Objects Server is searching for an env variable called LIBPATH32.
    By default this has not been set to the DB2 x32 Libary path by AIX or SBOP setup.
    We solved the issue by adding the following (LIBPATH32) into the file .profile
    The following three lines have been added by IBM DB2 instance utilities.
    if [ -f /home/boeadm/sqllib/db2profile ]; then
        . /home/boeadm/sqllib/db2profile
        LIBPATH32=/home/boeadm/sqllib/lib32:$LIBPATH32; export LIBPATH32
    fi
    After doing:
    bash-3.2$ cd /usr/sbop/sap_bobj/
    bash-3.2$ . setup/env.sh
    The path has been set correctly to the x32 libarys:
    LIBPATH32=/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/mw/:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/ras:/home/boeadm/sqllib/lib32::/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/mw//lib-aix4:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/mw//lib-aix4_optimized
    Kind regards
    Marc Reiter

  • Error when setting GPO Display information about previous logon during user logon on Wins 7

    We recently try to deploy a GPO on our network (All Server 2008 and Windows 7) to show previous logons during
    user logon. The setting is located in Computer Configuration| Policies |
    Administrative Templates | Windows Components | Windows Logon Options | Display
    information about previous logons during user logon = Enabled. Our domain
    level is set to Windows Server 2008. I verified that it is Windows Server 2008
    on Domain and Trust.
    Here is the article about this setting
    Active Directory Domain Services: Last Interactive
    Logon
    But after we deploy the setting, we are no longer able to login
    to any of our windows 7 machines. All of them got an error message said :
    “Security policies on this computer are set to display information about the
    last interactive logon. Windows could not retrieve this information. Please
    contact your network administrator for assistance.”
    The setting
    worked on windows server 2008. I was able to login to DC and revise the setting,
    so we can log back in the windows 7 machines.
    Anyone has experience this
    issue before? I looked up all of the web and only thing they said is to make
    sure the domain functional level must be set to Windows Server 2008, which it
    is.

    Hi,
    Have we also applied this setting to domain controllers?  To make this policy work properly, we also need to apply this setting to domain controllers. If not, users will not be able to log on to the system.
    Regarding this point, the following article can also be referred to for more information.
    Group Policy Setting of the Week 35 – Display information about previous logons during user logon
    http://www.grouppolicy.biz/2010/07/group-policy-setting-of-the-week-35display-information-about-previous-logons-during-user-logon/
    Best regards,
    Frank Shen

  • Unable to install the GEAR driver set at this time.The GEARAspiWDM service used bz the GEAR driver set is scheduled to be deleted during the next system reboot.Please reboot the system and run iTunes again.help me..I understand this problem..thanks

    Unable to install the GEAR driver set at this time.The GEARAspiWDM service used bz the GEAR driver set is scheduled to be deleted during the next system reboot.Please reboot the system and run iTunes again.help me..I understand this problem..thanks

    Hi there, i had the exact same problem and posted a thread a few above yours, and these forums wasnt much help nobody replied, so i did a bit of research and followed all the intructions on this site: http://www.gearsoftware.com/cfknowledgebase/articledisplay.cfm?articleid=296
    If you follow the steps very carefully and do as each says, this will solve your problem.. Now i am very happy i can actually install iTunes and use it for my iPod.
    Remember to be carefully with the steps as the things you will be deleting are very important to your comp.
    Hope this helps.
      Windows XP  

  • 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

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

  • 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

    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

  • How to set values in JMS Adapter using Adanced specific Message Attributes

    Hi Frnds,
    in my scenarios i have to add extra header information MQ Message,
    using Adanced specific Message Attributes i defined 7 parameters(Transaction,Environment,shema......) all are type Interger.But i have to set values ( Transaction type,Enviroment,shema....).
    Where i can set values ??
    help me on this...
    Regards,
    Raja Sekhar

    Hi Vijay,
    Thanks for your replay,as per your input i creted dynamic configuration method,
    i taget structure  luks like this
       <Data>
           <Mesage>
                 <gl_update>
                      <header>
                            <ean1>
                            <ean2>
                      </header>
                  <gl_update>
           <Message>
    i written UDF and mapped to header element gl_update,
    but i am getting  below error message in MONI
    SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_ ffjms_</SAP:P1>
      <SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
      <SAP:P3>on: Cannot create target element /ns0:MT_jms_ _a</SAP:P3>
      <SAP:P4>sync_out/Data/Message/ GLUpdate. Values missi~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_ ffjms_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:MT_jms_ asyncout/Data/Message/ GLUpdate. Values missi~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    i want to know i mapped to UDF to GL_Update is is correct, to which element i have to map.
    i think there is no prob with UDF,its executing ,giving warning messages
    help me on this,
    Regaards
    Raj

  • How to restore a single instance database to RAC (10g) using RMAN ?

    Hi all,
    I have a single instance database configured using file system in a unique server, so now I need to restore this database using RMAN to a new RAC environment with two nodes and ASM also.
    Does anyone can help with this documentation or a link about any information about this restore using rman ?
    I tryied found on metalink but threres isn´t this specific case. Only how to convert single instance to 10g RAC, but without how to use with rman information.
    System: Windows 2003
    Oracle 10g R2
    Thanks.
    Wander(Brazil)

    Wander(Brazil) wrote:
    Hi all,
    I have a single instance database configured using file system in a unique server, so now I need to restore this database using RMAN to a new RAC environment with two nodes and ASM also.
    In essense you are really doing nothing more than restoring a backup on a new host. If you want a blow by blow detail of how to accomplish it take at http://www.oracledistilled.com/oracle-database/restore-database-to-another-host-using-rman
    In order to write the files to the ASM Disk groups you will use the SET NEWNAME FOR DATAFILE in your restore script. You will also need to create the ORACLE_BASE/admin/<DBSID> structure on all of node. Once you get the database completely restore you will need to edit the SPFILE to include the proper value for the CLUSTER* parameters and each the node specific parameters. Sorry that it is kind of higher level than what you are probably looking for but the link above and what I put here should get you were want to go.

Maybe you are looking for

  • Business Objects XI 3.1 client tool installation problem

    Hi Experts, When i am installing SAP Business Objects enterprise Xi 3.1 Client tool SP3 on my local desktop its throwing error as " Update installation cannot proceed because either the target product is missing or is not in the correct version for t

  • Can I copy a iPhoto slideshow to disc?

    I've made a slideshow with music in iPhoto and would like to put it on a dvd. How is this done?

  • Can I setup a folder on the time capsule for sharing between computers not on my network?

    I'm wanting to be able to share files between family members that don't live in the same household. How would I set up a single folder on my Time Capsule so everyone can use it as a shared network drive between Windows and Mac systems, with security?

  • Can't get flash form to submit all information

    Hi! I need flash help. The site is live at www.idsignco.com  -  The problem that I'm having is that when customers fill out the contact form on the 'contact' page, it doesn't send their email to us (which is one of the fields). Here is a jpg of the m

  • Unable to start Time Machine

    Hello, I have a Mac Pro 2x2,66 Dual-Core Intel Xeon with 7GB RAM  with Mac OS X Server 10.6.8 Have 4 HDS, Mac OS in HD 1 and disk 2 for Time Machine. After configure Time Machine and begin the countdown it does not start. Selector ON OFF is ON and Ol