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

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

  • ERROR: DW006: Apple Package failed to install successfully. ERROR: Third party payload installer Adobe Photoshop Lightroom 5.pkg failed with exit code: 1

    Hi,
    i have the following message when i tried to install LR 5.6
    Exit Code: 7
    Please see specific errors below for troubleshooting. For example, ERROR: DW006 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 2 error(s)
    ----------- Payload: Adobe Photoshop Lightroom 5 5.6.0.0 Adobe Photoshop Lightroom 5.pkg_5.6 -----------
    ERROR: DW006: Apple Package failed to install successfully.
    ERROR: Third party payload installer Adobe Photoshop Lightroom 5.pkg failed with exit code: 1
    how can i solve this issue?
    I am running on Mac with OSX 10.9.4
    thanks in advance
    Olivier

    olebreth wrote:
    how can i solve this issue?
    A search of the site would probably be a good start:
    https://forums.adobe.com/search.jspa?q=dw006

  • Error in File (reportname.rpt) encapsulating page failed

    Hi
    we have created crystal reports using CR 2008 and are implenting drilldown in it.The report works fine from the designer and infoview.When the report is opened from SAP Portal and we try to drilldown we get the above error
    Any idea what could be issue ?
    Thanks
    Kamal

    Hi,
    Following information might help you to resolve the issue.
    This error occurs when the Crystal Reports Web Engine is unable to create the "encapsulated pages" needed to be served up over the web. This is usually an NTFS file permissions issue.
    The following steps will resolve this issue:
    1. Call the report using the URL to force the Crystal Web Report Server to prompt for the logon values
    2. If the logon loops back the information filled in, check to ensure that the ODBC DSN is a System DSN.
    3. Ensure that the NTFS file permissions document has been applied.
    4. Try running the Crystal Web Page Server and the Crystal Web Image Server under administrative accounts in the Services window within Windows NT.
    The document containing recommended NTFS permissions for version 7, Scr7_ntfsrights.pdf, can be searched for and downloaded from:
    http://support.crystaldecisions.com/docs
    Regards,
    Sarbhjeet Kaur

  • Websites that involve JavaScript will load but an error message will pop up and soemtimes the website may not even load at all. How do I resolve this issue?

    When first loading a variety of different pages (USPS.com for instance) that utilize java, I get an error message: "[JavaScript Application] Error: The operation is insecure." This is not happening in any other browsers installed on my computer and this only started happening roughly a week ago. It is becoming a bit annoying and prohibits me from being able to register some software due to the JavaScript errors that are occuring.

    To avoid confusion:
    *http://kb.mozillazine.org/JavaScript_is_not_Java
    If you use extensions (Firefox/Tools > Add-ons > Extensions) that can block content (e.g. Adblock Plus, NoScript, Flash Block, Ghostery) then make sure that such extensions aren't blocking content.
    Note that your System Details List shows that you have a user.js file in the profile folder to initialize some prefs on each start of Firefox.
    The user.js file is only present if you or other software has created it, so normally it wouldn't be there.
    you can check its content with a plain text editor if you didn't create this file yourself.
    The user.js file is read each time you start Firefox and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.
    You can delete the user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js
    *http://kb.mozillazine.org/Preferences_not_saved
    Note that you currently have enabled caret browsing: accessibility.browsewithcaret: True
    *Tools > Options > Advanced > General > Accessibility: [ ] "Always use the cursor keys to navigate within pages"

  • Error in File... Failed to create the Crystal Query Engine.

    I am attempting to use Compliance Suite 4 to open a report.  The error I get is:
    Error in File
    S:\Applications\Apps\CSuite\Reports\schedstu.rpt:
    Failed to create the Crystal Query Engine.
    S:\Applications\Apps\CSUITE\Report\schedstu.rpt
    When we attempt to open the report with Crystal Reports XI we get the following:
    NO SAVED DATA
    This report file does not contain saved data and cannot be viewed.
    These reports will open for the same account on a different PC.  Has anyone seen this?  Thanks!

    You'll probably get a quicker answer from the people at Compliance Suite. All that error is telling me is that the database engine does not understand what it is that you're throwing at it in terms of a database connection or data type. As it's a 3rd party app, I do not know how this is implemented so that is all I can say...
    Ludek

  • Error in File ~tmp81c59e23760a10.rpt: Invalid argument for database

    When trying to run the report via Crystal Reports Server, we get the following error:
    Error in File ~tmp81c59e23760a10.rpt: Invalid argument for database.
    Opening the report in Crystal Reports 2008 and running a verify database, confirms that everything is working. Yet when we run it through Crystal Reports Server it errors every time.
    We are using a Progress ODBC driver which works fine when running reports via Crystal Reports 2008
    Can you please shed some light on this.
    I have already checked to see if there was a service pack or any other hot fixes available.

    Hi Brett,
    I believe I have the same error. ie
    Invalid Argument provided.
    Error in File xxxxx {C8F4D455-6B45-4859-B1B0-3E77619E5AD0}.rpt:
    Invalid argument for database."
    Have you managed to resolve the issue yet?
    We're running Crystal Reports 2008 Basic on MS SQL Server 2005.
    The Crystal Report works fine, when run on the server (and/or in terminal server session), but if it is run from a desktop client, which connects to the server, it gives the error above.
    So in my case, it must permissions or component related (ie something not loaded, that should be).
    I found the following on the internet:
    u201DIDataReader supports only one table by default
    When you view a report that has tables with the data source set to
    IDataReader for each one, and many of the tables are linked together, you
    may see the following error message: "Invalid database argument." Calls
    made to SetDataSource() from an IDataReader are supported only for
    reports that contain one table.
    Workaround
    To use an IDataReader with multiple tables, create a report with one
    command table that selects the necessary fields.u201C
    From researching in SAP BOBJ Notes I found somethings to try, or look at, but can't quite tackle them yet. I'll let you know how it goes.
    Best Regards,
    George

  • 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

  • ITunes library consolidation error: "Copying files failed. An unknown error occurred (-50)."

    My iTunes library has outgrown the HDD on my iMac, so I've started to migrate it over to a Synology NAS.  The iTunes Media folder is set to the NAS, but when I attempt to consolidate the library the operation fails each time with the error: "Copying files failed. An unknown error occurred (-50). 
    I have found this references to this error in the communities from Windows users, but I only use Macs.

    Just trying to give this topic a poke as I am having a similar issue.
    I am rebuilding my library that was on an external drive.  I had a backup of much of the files, but not a direct backup of the iTunes media folder, as well I am now moving it to a new iTunes Media directory on a Synology 1813+ NAS running DSM 4.3 vs. a USB attached drive.
    I have followed all of the correct procedures to move the media directory by using the tools within iTunes, and that all worked perfectly.
    So far iTunes has been able to locate most of the music files through its own processes. Once it completed that process I then initiated "Consolidate files" to move the found files to the new iTunes Media directory on the new NAS.
    I am led to believe that the issue is with a specific file that causes the copy process to stop, but I don't know how to capture what file it might be.
    I am not seeing anything relevent in the console log.
    Hoping someone can throw me some ideas...
    iTunes 11.1.2 (32) - iMac 2.8GHz Intel Core 2 Duo 4GB RAM - OS X 10.8.5

  • Error data file is empty in standard Copy package

    Hi,
    We have an appset that consists of four applications and we can't successfully run Data Manager Copy package in one of them. It launches the following tasks: Dump, Convert (execution fails in this step with error "Data file is empty") and Load. SSIS configuration in BIDS is defined by default and we haven't set any parameter.
    We have figured out this error appears when we select any member of a dimension in "COPYMOVEINPUT" prompt except for Time dimension. Previously there was a custom Copy package based on standard BPC and it only filters by Time dimension. Perhaps this error is related to application configuration to run custom package.
    We show code:
    INFO(%TEMPFILE1%,%TEMPPATH%%RANDOMFILE%)
    INFO(%TEMPFILE2%,%TEMPPATH%%RANDOMFILE%)
    TASK(DUMP,APPSET,%APPSET%)
    TASK(DUMP,APP,%APP%)
    TASK(DUMP,USER,%USER%)
    TASK(DUMP,FILE,%TEMPFILE1%)
    TASK(DUMP,SQL,%SQLDUMP%)
    TASK(DUMP,DATATRANSFERMODE,2)
    TASK(CONVERT,INPUTFILE,%TEMPFILE1%)
    TASK(CONVERT,OUTPUTFILE,%TEMPFILE2%)
    TASK(CONVERT,CONVERSIONFILE,%CONVERSION_INSTRUCTIONS%)
    TASK(LOAD,APPSET,%APPSET%)
    TASK(LOAD,APP,%APP%)
    TASK(LOAD,USER,%USER%)
    TASK(LOAD,FILE,%TEMPFILE2%)
    TASK(LOAD,DATATRANSFERMODE,4)
    TASK(LOAD,DMMCOPY,1)
    TASK(LOAD,CLEARDATA,%CLEARDATA%)
    TASK(LOAD,RUNTHELOGIC,%RUNLOGIC%)
    TASK(LOAD,CHECKLCK,%CHECKLCK%)
    Any variables as %CONVERSION_INSTRUCTIONS% aren't defined. Is it a system constant?
    Thanks.

    Hi Roberto,
    Thanks for having a look at my question.
    We're using .act files to upload data from SAP BW into SAP BPC.
    This is the content of  .act file that I'm trying to upload:
    ACTUAL
    1
    1
    GCN.CZN,2621.LC_.EUR,100.5000
    GCN.CZN,2621.TC_.CZK,7050.0000
    Transformation file looks like:
    Conversion files are:
    Time:
    Category:
    Entity:
    Counterpart:
    RCCinterco:
    IntercoCurr:
    Transcurrency:
    In case of any other info needed, please let me know.
    Thanks a lot in advance,
    Wai Yee Kong

  • Loading .css into my .fla file (non-.AS file)

    AS3
    My .html file loads, but not my .css file.
    I want to add the proper code to load a .css file, which is
    for my .html file, directly into my .fla file that has the code for
    the text area and scrollbar with the .html file loading
    successfully.
    How do I load the .css file for the .html file the same way-
    the .html file loads correctly, but not the .css file?
    ****Right now, I get the following errors:
    1119: Access of possibly undefined property styleSheet
    through a reference with static type fl.controls:TextArea.
    myTextField.styleSheet = css;
    1120: Access of undefined property pageContent.
    myTextField.htmlText = pageContent;
    when I try this current AS3 code:
    //Load CSS Data
    var cssLoader:URLLoader = new URLLoader();
    var cssRequest:URLRequest = new URLRequest("example.css");
    cssLoader.addEventListener(Event.COMPLETE,
    cssLoaderComplete);
    cssLoader.load(cssRequest);
    function cssLoaderComplete(evt:Event):void{
    var css:StyleSheet = new StyleSheet();
    css.parseCSS(URLLoader(evt.target).data);
    myTextField.styleSheet = css;
    myTextField.htmlText = pageContent;
    //Load HTML Data
    function textLoadComplete(event:Event):void
    myTextField.htmlText = textLoader.data;
    myTextField.editable = false;
    var textLoader:URLLoader = new URLLoader();
    var textReq:URLRequest = new URLRequest("htmltext.html");
    textLoader.load(textReq);
    textLoader.addEventListener(Event.COMPLETE,
    textLoadComplete);

    Okay - thanks.
    The really bizarre thing to me is that I got this simple tutorial:
    http://www.macloo.com/examples/flash/CSS_in_Flash/css_with_xml.html
    I pasted the exact AS onto my stage:
    // set up the textfield attributes
    myTextField_txt.html = true;
    myTextField_txt.wordWrap = true;
    myTextField_txt.multiline = true;
    myTextField_txt.condenseWhite = true;
    // create new style sheet object
    var myCSS = new TextField.StyleSheet();
    // specify the location of your existing CSS file
    var cssURL = "example_2.css";
    // load CSS file
    myCSS.load(cssURL);
    // define onLoad handler
    myCSS.onLoad = function(success) {
        if (success) {
            /* if the style sheet loaded without error */
            myTextField_txt.styleSheet = myCSS;
            myTextField_txt.text = "CSS file loaded successfully. You may proceed.";
        } else {
            myTextField_txt.text = "CSS file failed to load!";
    //load the XML file
    myContent = new XML();
    myContent.ignoreWhite = true;
    myContent.load("story_example.xml");
    myContent.onLoad = function(success) {
        if (success) {
            myTextField_txt.text = myContent;
        } else {
            myTextField_txt.text += "<br /> XML file failed to load!";
    Then I  swap out the css file name with what I have - style_dtf.css - and it doesn't error (no output regarding CSS), but it shows ALL the code from the XML file in a big string, with all the tags and everything.
    Very weird...
    I even pasted the CSS from the example file into the beginning of my CSS file and still same effect.
    I do have all my SWFs in a seperate folder, but for now I just duplicated my CSS and XML into both folders.

  • Sql loader 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", ....

    Hello all,
    I am getting error while running below sql loader command...
    load data
    infile *
    into TABLE AP_SUPPLIER_SITES_INT
    REPLACE
    fields terminated by ","
    OPTIONALLY ENCLOSED BY '"'
    VENDOR_INTERFACE_ID expression "to_char('select VENDOR_INTERFACE_ID from AP_SUPPLIERS_INT where CUSTOMER_NUM=:CUSTOMER_NUM')",
    VENDOR_SITE_INTERFACE_ID "to_char(ap_supplier_sites_int_s.NEXTVAL)",
    LAST_UPDATE_DATE "SYSDATE",
    LAST_UPDATED_BY,
    VENDOR_SITE_CODE,
    CREATION_DATE "SYSDATE",
    CREATED_BY,
    PURCHASING_SITE_FLAG,
    PAY_SITE_FLAG,
    ADDRESS_LINE1,
    ADDRESS_LINE2,
    ADDRESS_LINE3,
    CITY,
    STATE,
    ZIP,
    COUNTRY,
    PHONE,
    FAX,
    PAYMENT_METHOD_LOOKUP_CODE,
    TERMS_ID,
    CREATE_DEBIT_MEMO_FLAG,
    HOLD_UNMATCHED_INVOICES_FLAG,
    EMAIL_ADDRESS,
    MATCH_OPTION,
    EXCLUDE_FREIGHT_FROM_DISCOUNT,
    INVOICE_CURRENCY_CODE,
    PAYMENT_CURRENCY_CODE,
    COUNTRY_OF_ORIGIN_CODE,
    FREIGHT_TERMS_LOOKUP_CODE,
    PAY_GROUP_LOOKUP_CODE,
    PAY_DATE_BASIS_LOOKUP_CODE,
    ALWAYS_TAKE_DISC_FLAG,
    ORG_ID)
    begindata
    1005,,SYSDATE,1132,Test MA Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120
    Log file:
    Table "AP"."AP_SUPPLIER_SITES_INT", loaded from every logical record.
    Insert option in effect for this table: REPLACE
    Column Name Position Len Term Encl Datatype
    VENDOR_INTERFACE_ID EXPRESSION
    SQL string for column : "to_char('select VENDOR_INTERFACE_ID from AP_SUPPLIERS_INT where CUSTOMER_NUM=:CUSTOMER_NUM')"
    VENDOR_SITE_INTERFACE_ID FIRST * , O(") CHARACTER
    SQL string for column : "to_char(ap_supplier_sites_int_s.NEXTVAL)"
    LAST_UPDATE_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    LAST_UPDATED_BY NEXT * , O(") CHARACTER
    VENDOR_SITE_CODE NEXT * , O(") CHARACTER
    CREATION_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    CREATED_BY NEXT * , O(") CHARACTER
    PURCHASING_SITE_FLAG NEXT * , O(") CHARACTER
    PAY_SITE_FLAG NEXT * , O(") CHARACTER
    ADDRESS_LINE1 NEXT * , O(") CHARACTER
    ADDRESS_LINE2 NEXT * , O(") CHARACTER
    ADDRESS_LINE3 NEXT * , O(") CHARACTER
    CITY NEXT * , O(") CHARACTER
    STATE NEXT * , O(") CHARACTER
    ZIP NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    PHONE NEXT * , O(") CHARACTER
    FAX NEXT * , O(") CHARACTER
    PAYMENT_METHOD_LOOKUP_CODE NEXT * , O(") CHARACTER
    TERMS_ID NEXT * , O(") CHARACTER
    CREATE_DEBIT_MEMO_FLAG NEXT * , O(") CHARACTER
    HOLD_UNMATCHED_INVOICES_FLAG NEXT * , O(") CHARACTER
    EMAIL_ADDRESS NEXT * , O(") CHARACTER
    MATCH_OPTION NEXT * , O(") CHARACTER
    EXCLUDE_FREIGHT_FROM_DISCOUNT NEXT * , O(") CHARACTER
    INVOICE_CURRENCY_CODE NEXT * , O(") CHARACTER
    PAYMENT_CURRENCY_CODE NEXT * , O(") CHARACTER
    COUNTRY_OF_ORIGIN_CODE NEXT * , O(") CHARACTER
    FREIGHT_TERMS_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_GROUP_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_DATE_BASIS_LOOKUP_CODE NEXT * , O(") CHARACTER
    ALWAYS_TAKE_DISC_FLAG NEXT * , O(") CHARACTER
    ORG_ID NEXT * , O(") CHARACTER
    value used for ROWS parameter changed from 64 to 31
    Record 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Please guide me what could be an issue...
    Is there any other way to pass function in sql loader..
    Thanks and Regards
    Muthukumar

    I created function like below...... retrun value as number
    create or replace function VDR_INF_F(V_NUM number)
    return number is
    VDR_INF_id AP_SUPPLIERS_INT.VENDOR_INTERFACE_ID%type;
    begin
    select VENDOR_INTERFACE_ID
    into VDR_INF_id
    from AP_SUPPLIERS_INT
    where CUSTOMER_NUM = V_NUM;
    return VDR_INF_id;
    end;
    And attached that into loader program...
    load data
    infile *
    into TABLE AP_SUPPLIER_SITES_INT
    REPLACE
    fields terminated by ","
    OPTIONALLY ENCLOSED BY '"'
    VENDOR_SITE_INTERFACE_ID "to_char(ap_supplier_sites_int_s.NEXTVAL)",
    LAST_UPDATE_DATE "SYSDATE",
    LAST_UPDATED_BY,
    VENDOR_SITE_CODE,
    CREATION_DATE "SYSDATE",
    CREATED_BY,
    PURCHASING_SITE_FLAG,
    PAY_SITE_FLAG,
    ADDRESS_LINE1,
    ADDRESS_LINE2,
    ADDRESS_LINE3,
    CITY,
    STATE,
    ZIP,
    COUNTRY,
    PHONE,
    FAX,
    PAYMENT_METHOD_LOOKUP_CODE,
    TERMS_ID,
    CREATE_DEBIT_MEMO_FLAG,
    HOLD_UNMATCHED_INVOICES_FLAG,
    EMAIL_ADDRESS,
    MATCH_OPTION,
    EXCLUDE_FREIGHT_FROM_DISCOUNT,
    INVOICE_CURRENCY_CODE,
    PAYMENT_CURRENCY_CODE,
    COUNTRY_OF_ORIGIN_CODE,
    FREIGHT_TERMS_LOOKUP_CODE,
    PAY_GROUP_LOOKUP_CODE,
    PAY_DATE_BASIS_LOOKUP_CODE,
    ALWAYS_TAKE_DISC_FLAG,
    ORG_ID,
    VENDOR_INTERFACE_ID expression "VDR_INF_F(':CUSTOMER_NUM')"
    begindata
    1005,,SYSDATE,1132,Test MA Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1005,,SYSDATE,1132,Test MA Site_2,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1005,,SYSDATE,1132,Test MA Site_3,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1006,,SYSDATE,1132,Test1 M Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1006
    1007,,SYSDATE,1132,Test1 B Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1007
    Even now sql loader giving same error..
    like below.....
    able "AP"."AP_SUPPLIER_SITES_INT", loaded from every logical record.
    Insert option in effect for this table: REPLACE
    Column Name Position Len Term Encl Datatype
    VENDOR_SITE_INTERFACE_ID FIRST * , O(") CHARACTER
    SQL string for column : "to_char(ap_supplier_sites_int_s.NEXTVAL)"
    LAST_UPDATE_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    LAST_UPDATED_BY NEXT * , O(") CHARACTER
    VENDOR_SITE_CODE NEXT * , O(") CHARACTER
    CREATION_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    CREATED_BY NEXT * , O(") CHARACTER
    PURCHASING_SITE_FLAG NEXT * , O(") CHARACTER
    PAY_SITE_FLAG NEXT * , O(") CHARACTER
    ADDRESS_LINE1 NEXT * , O(") CHARACTER
    ADDRESS_LINE2 NEXT * , O(") CHARACTER
    ADDRESS_LINE3 NEXT * , O(") CHARACTER
    CITY NEXT * , O(") CHARACTER
    STATE NEXT * , O(") CHARACTER
    ZIP NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    PHONE NEXT * , O(") CHARACTER
    FAX NEXT * , O(") CHARACTER
    PAYMENT_METHOD_LOOKUP_CODE NEXT * , O(") CHARACTER
    TERMS_ID NEXT * , O(") CHARACTER
    CREATE_DEBIT_MEMO_FLAG NEXT * , O(") CHARACTER
    HOLD_UNMATCHED_INVOICES_FLAG NEXT * , O(") CHARACTER
    EMAIL_ADDRESS NEXT * , O(") CHARACTER
    MATCH_OPTION NEXT * , O(") CHARACTER
    EXCLUDE_FREIGHT_FROM_DISCOUNT NEXT * , O(") CHARACTER
    INVOICE_CURRENCY_CODE NEXT * , O(") CHARACTER
    PAYMENT_CURRENCY_CODE NEXT * , O(") CHARACTER
    COUNTRY_OF_ORIGIN_CODE NEXT * , O(") CHARACTER
    FREIGHT_TERMS_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_GROUP_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_DATE_BASIS_LOOKUP_CODE NEXT * , O(") CHARACTER
    ALWAYS_TAKE_DISC_FLAG NEXT * , O(") CHARACTER
    ORG_ID NEXT * , O(") CHARACTER
    VENDOR_INTERFACE_ID EXPRESSION
    SQL string for column : "VDR_INF_F(':CUSTOMER_NUM')"
    value used for ROWS parameter changed from 64 to 31
    Record 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 4: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 5: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Please guide me, how to clear this issue?
    Thanks and Regards,
    Muthu

  • "Error in File : c:\DOCUME~1\ASPNET\LOCALS~1\Temp\temp_e9999.rpt; The request could not be submitted for background p

    I have a legacy reporting system written in VB.net (2003).  (SQL Server backend)   (I have .Net 2005 on my PC).  The reporting system opens and generates the Crystal Reports.  In the past, the .rpt files could simply be updated and the users would see the new report.  None of the original developers are at this company anymore. 
    Here is what is going on...  I modified a report - saved it as a .rpt in CR XI.   When we placed it in the proper directory - a vague error message is generated stating: "Error in File : c:\DOCUME1\ASPNET\LOCALS1\Temp\temp_e999999999999999.rpt; The request could not be submitted for background processing."  (where 99999 = bunch of characters generated for storing the file.). 
    One strange thing is that this reporting system is running as a webservice on a webserver.  So, why is it trying to store anything on the C drive??  In addition, when I search for the file - it does not exist.
    So.... I decided to try the least offensive thing - open a report that HAD been working - save it in a previous version (CR 10) and move that rpt into the proper 'production' folder.  Same error message/different temp file name. 
    I tried deleting crqe.dll from C:\WINDOWS\system32.  I thought that might be a problem - but I still get the same error.
    I just don't know what to try next.  Any advice would really be appreciated.

    The file that you are talking about is a temporary file that is generated while populating the report at clients side. This Temp file is used by Crystal to temporarily store data in it until the full report is ready to be displayed.
    I am little confused as I am not sure if you are using VS2005 or VS2003 as VS2005 is not compatible with CR10. Is there any change made in the app or in server ?
    AG.

  • 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