Error: Unable to Load Database

Anyone seen this error: "Unable to Load Database"? How to recover? A link or a page for me to read would work too. thx! James

The usual cause for this is that the database has become corrupted - or one or more key files was somehow deleted. Take a look at the application log and see if there is a more detailed message. Unfortunately, if the data has been corrupted, you will have to recover from backup, or rebuild your cube.To get the database started, you can go into the database directory and delete the *.ind, *.pag, *.tct, *.ind and *.esm files. This will allow the app to start, but the data will be GONE - you will HAVE to reload and calc it, or restore from backup.Regards,Jade--------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

Similar Messages

  • "Error 1002097 Unable to Load database" while starting an Essbase App.

    Hello Essbase Experts,
    I am getting below error while starting an Essbase Application:
    "Error 1002097 Unable to Load database"
    Below is an extract from the Essbase Application Log:
    [2012-04-04T14:14:03.816-19:14] [RPA] [ESM-6] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file
    [SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm]. Essbase will try again after a short
    delay.
    [2012-04-04T14:14:04.821-19:14] [RPA] [ESM-5] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file
    [SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm]. Please make sure other processes do not
    access Essbase files while Essbase server is running.
    [2012-04-04T14:14:04.821-19:14] [RPA] [MBR-89] [WARNING] [1][] [ecid:1333566842161,0] [tid:2058170128] Unable to open
    [SID/essbase/user_projects/epmsystem/EssbaseServer/essbaseserver1/app/RPA/RPA/RPA.esm] for database
    [RPA][2012-04-04T14:14:04.821-19:14] [RPA] [SVR-97] [ERROR] [32][]
    [ecid:1333566842161,0] [tid:2058170128] Unable to load database [RPA]
    [2012-04-04T14:14:04.821-19:14] [RPA] [SVR-97] [ERROR] [32][]
    [ecid:1333566842161,0] [tid:2058170128] Unable to load database []
    [2012-04-04T14:14:04.835-19:14] [RPA] [SVR-97] [ERROR] [32][]
    [ecid:1333566842161,0] [tid:2058170128] Unable to load database []
    Please sugest pointers to start the application.
    Thanks,
    KK

    *[2012-04-04T14:14:03.816-19:14] [RPA] [ESM-6] [ERROR] [32][] [ecid:1333566842161,0] [tid:2058170128] Unable to lock file*
    Solution would be easy ...like if the Essbase Agent is stopped using the services.msc (services panal)on Windows while a process is currently running, or if there has been an abnormal termination of the Essbase Agent, orphaned ESSSVR processes can be left. Shuting down the Essbase server using ESSCMD or MaxL then Check Task Manager confirm the ESSBASE.exe process later by this ESSSVR.exe processes should end if still NO then Do an "End Process" on any ESSSVR.exe process that is still running. Start the Essbase service and start the application.
    ESSSVR.exe is process which keep application Alive (bad thing is if u have many applications running similarlly u have same numbe of ESSSVr .exe will be running in task master ..but u cant find out which one belongs to which application :( )
    Reasons
    looking at your error i can say , First of all you need to know what is Lock in EAS ? and what locks exist
    (right-click on Essbase Servername, EDIT->LOCK and EDIT->LOCKED OBJECTS, and if your database/outline appears in there, unlock it.)
    Check any antivirus- and backup software that may be scanning / running on your Essbase folders as that can lock the files and any ESSSVR process stays when the Essbase Agent is stopped
    More over another chance of getting error is when you have you page and index files in different location and rest otl, rep.csc script in another drive .. usually while taking back up in OTL,csc drive u do get created index file and page file even u have page and index file in diffrent drive so doe to this u get this error unable to load database
    Hope this give u some idea

  • Unable to load database connector - using JRC w/report connecting to Oracle

    A simple Java program was created to test a Crystal Report using JRC. The Java program is a thick-client Swing desktop application (modified from an example of crxi_r2_migrating_rdc_to_jrc.pdf). The program failed to execute the report with the following error:
    Unable to load database connector u2018com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'
    It might be something simple to correct the problem, but I am not able to find related answers in the documentation and from the forum.
    CR version is XI R2. The Java program was compiled and run using jdk1.4.2_13. Oracle is 10.2.
    Do I have to use JDBC? or the CR Oracle driver will do? What needs to be setup? If I use JDBC, what do I need to setup (I tried to following the links in the forums or other documentation, but most of the links to http://support.businessobjects.com/.... are broken - i.e. re-route to the SAP support page but not directly linked to the articles)
    When the report JRCTestReport.rpt was saved with the option "Save Data With Report", it works fine. So the problem is only with Oracle database driver, the other jars are fine.
    In the report JRCTestReport.rpt the database properties are:
           DatabaseDLL             crdb_oralce.dll
           Password
           Server                        myTestDB
           Trusted_Connection    False
           User ID                      MyUser
    The crdb_oracle.dll is located at:
    C:\Program Files\Business Objects\Common\3.5\bin
    Files are stored in the following tree structure:
    <Testing Folder>
         JRCTest.java
         JRCTest.class
         WEB-INF
                   lib
                        All required JRC jars and CRConfig.xml
         Reports
                   JRCTestReport.rpt
    Java source code JRCTest.java
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    public class JRCTest
         private static void createAndShowGUI()
              try
                   //Make sure we have nice window decorations.
                   JFrame.setDefaultLookAndFeelDecorated(false);
                   //Create and set up the window.
                   JFrame frame = new JFrame("JRCTest");
                   frame.setTitle("JRCTest");
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   ReportViewerBean viewer = new ReportViewerBean();
                                      System.out.println("ReportViewerBean.init");
                   viewer.init(new String[0], null, null, null);
                                      System.out.println("new ReportClientDocument");
                   ReportClientDocument rpt = new ReportClientDocument();
                                      try
                                              System.out.println("Openning Report...");
                                              rpt.open("JRCTestReport.rpt", 0);
                                      catch (Exception ex)
                                              System.out.println("Failed to open report");
                                              System.out.println(ex.toString());
                                              return;
                                      try
                                              System.out.println("logon...");
                                              rpt.getDatabaseController().logon("myUser", "myPass");
                                      catch (Exception ex)
                                              System.out.println("Failed to logon");
                                              System.out.println(ex.toString());
                                              return;
                                      System.out.println("ReportClientDocument.getReportSource");
                   IReportSource rptSource = rpt.getReportSource();
                   viewer.setReportSource(rptSource);
                                                    System.out.println("viewer.setReportSource");
                   frame.getContentPane().add
                        (viewer, BorderLayout.CENTER);
                   frame.setSize(700, 500);
                   frame.setVisible(true);
                   viewer.start();
              catch (Exception exception)
                   System.out.println(exception.toString());
         public static void main(String[] args)
              javax.swing.SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        createAndShowGUI();
    Execution result:
    C:\tmp\CrystalJavaTest>java -classpath .;./WEB-INF/lib;./WEB-INF/lib/ReportViewe
    r.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concu
    rrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WE
    B-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/
    lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/Cry
    stalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalR
    eportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WE
    B-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;
    ./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.j
    ar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis
    .jar JRCTest
    Starting
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    logon...
    ReportClientDocument.getReportSource
    viewer.setReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.
    crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwRepo
    rtSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unkno
    wn Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unkno
    wn Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage
    (Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource
    .getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReport
    Source.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driv
    erImpl.DriverLoader'.

    After I switched the report to use JDBC, I am still getting the same error.
    Machine has multiple jdk, oracle 10g, Oracle11g client installed though. So I need to set my path to use the jdk from Crystal Report and Oracle 10g.
    The program was compiled and ran with the following path and CLASSPATH:
    set path="C:\Program Files\Business Objects\j2sdk1.4.2_08\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin\client";c:\oracle\ora102\bin
    set CLASSPATH=.;./WEB-INF/lib;./WEB-INF/lib/ReportViewer.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concurrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WEB-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/CrystalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalReportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WEB-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.jar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis.jar;C:/oracle/ora102/jdbc/lib/ojdbc14.jar
    I modified my java testing program to display more info:
    Modified program:
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    import com.crystaldecisions.sdk.occa.report.exportoptions.*;
    import com.crystaldecisions.sdk.occa.report.data.*;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    public class JRCTest2
       private static void createAndShowGUI()
          try
             System.out.println("Starting");
             //Make sure we have nice window decorations.
             JFrame.setDefaultLookAndFeelDecorated(false);
             //Create and set up the window.
             JFrame frame = new JFrame("JRCTest2");
             frame.setTitle("Testing 1, 2, 3");
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             System.out.println("new ReportViewerBean");
             ReportViewerBean viewer = new ReportViewerBean();
             System.out.println("ReportViewerBean.init");
             viewer.init(new String[0], null, null, null);
             System.out.println("new ReportClientDocument");
             ReportClientDocument rpt = new ReportClientDocument();
             try
                 System.out.println("Openning Report...");
                 rpt.open("JRCTestReport.rpt", 0);
             catch (Exception ex)
                System.out.println("Failed to open report");
                System.out.println(ex.toString());
                return;
             try
                // try logon here to see if any exceptions
                rpt.getDatabaseController().logon("myUser", "myPass");
             catch (Exception ex)
                System.out.println("Failed to logon");
                System.out.println(ex.toString());
                return;
             IDatabase idb = rpt.getDatabaseController().getDatabase();
             Tables dtb = idb.getTables();
             IConnectionInfo conInfo = dtb.getTable(0).getConnectionInfo();
             PropertyBag attrs = conInfo.getAttributes();
             conInfo.setPassword("myPass");
             conInfo.setUserName("myUser");
             IStrings s = attrs.getPropertyIDs();
             for (int i=0; i < s.size(); i++)
                System.out.println(s.getString(i));
                System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             conInfo.setAttributes(attrs);
             attrs = conInfo.getAttributes();
             s = attrs.getPropertyIDs();
             // Print property again after setting attributes
             for (int i=0; i < s.size(); i++)
               System.out.println(s.getString(i));
               System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             System.out.println("ReportClientDocument.getReportSource");
             IReportSource rptSource = rpt.getReportSource();
             viewer.setReportSource(rptSource);
             frame.getContentPane().add
         (viewer, BorderLayout.CENTER);
             frame.setSize(700, 500);
             frame.setVisible(true);
             viewer.start();
          catch (Exception exception)
             System.out.println(exception.toString());
       public static void main(String[] args)
          System.out.println("main");
          javax.swing.SwingUtilities.invokeLater(new Runnable()
             public void run()
                createAndShowGUI();
    Running result:
    C:\tmp\CrystalJavaTest>java JRCTest2
    main
    Starting
    new ReportViewerBean
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    ReportClientDocument.getReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
    Also got similar error when the path and classpath was switched to Oracle 11g.
    Is there a way to tell which file that it failed to load?
    Thanks
    Kin

  • Hyperion Essbase Error: 1002097 Unable to load database [PlanType1]

    Hello,
    I am running Hyperion Essbase 9.2.0.3 version. This has happened 3 times now since last 2 weeks. I had to restore the APP folder from previous backup.
    The message that i see is Error: 1002097 Unable to load database [PlanType1]
    I have searched google and no luck. Anyone knows how to fix this or why we get this message. I don't want to restore from backup everytime.
    Thanks
    Azmat Bhatti

    I think you have currepted backup.
    Try run essmsh script to recover broken block's.
    Backups - Files still locked after beginarchive

  • Error --1002097 Unable to load database

    Hi,
    Essbase version 7.
    I am having a problem when I am trying to start database or running Essbase give me an Error: 1002097 Unable to load database.(error 1002097 is related to the db corrupt.) this is on PRD server.
    we have 2 more server ,(.BS & Dev).
    1.I copied the Db from the BS to PRD --- but the application and DB in the PRD system failed to start giving the same error 1002097 .
    2.next i did was to migrated the same application from BS to Dev system which went fine and i can see the outline . Application is getting started in the DEV system .
    3. Since it was okay in DEV. i migrated the application from BS TO PRD .it got migrated but it is not starting giving me the same error 1002097.
    any help will be great.
    thanks
    ram
    Thank you,

    Re: How can we Restore a corrupted cube.

  • Essbase Error Error: 1002097 Unable to load database

    Hi,
    I am using essbase 7.1. I am having a problem when I am trying to run any calc start application or database or doing anything Essbase give me an Error: 1002097 Unable to load database. I restart essbase services but nothing happen. Any help would be great.
    Thank you,

    I am currently getting the same error, it happens randomly on different models each day at around the same time. I have found this error on the log for one model.
    Unable To Find Or Open [e:\Program_Files\Hyperion\Essbase\bin\APP\LAdPBurn\LAdPBurn\ess00011.pag]
    I think the data files are locked by something, I am checking with our server team to see when the backups run as there are no other processes running at this time in Essbase. Incidentally the model has 15 .pag files.

  • Unable to load Database Error for one of the BSO Application.

    Hello Everyone,
    We have one Production Issue like suddenly the an Application Fiji while should be running was stopped. When i tried to restart it its showing Error.
    gvw3086-v.atlanta.hp.com:1423.Fiji    Start  application    August 28, 2013 8:32:24 PM SGT    Failed
    Error: 1002141 Unable to load database [Arirang], error code [1019038]
    gvw3086-v.atlanta.hp.com:1423.Fiji.Consol    Start database    August 28, 2013 8:33:30 PM SGT    Failed
    Error: 1002141 Unable to load database [Arirang], error code [1019038].
    I checked the Log but not sure it correct or not i see this Error message.
    [Wed Aug 28 11:33:48 2013]Local/Fiji///7944/Info(1002089)
    RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING
    But i also saw this error before but the application use to start automatically but this time it did not.
    can anyone help me on this.
    Regards,
    Naveen

    Hi,
    As i mentioned above its only for one Application Fiji. For a temporary Solution we tried to restart the Hyperion Services. But this did not work. One of the the Hyperion Service HyPService(not sure of the exact name). did not restart. So we have done a a fail over to other node and now the Fiji apps is running. But i don't think so what we have done is the correct fix for the solution. Have any one faced this problem.
    Hi John,
    Which Doc ID you mean to refer me is that the doc which comes with the Essbase Software.
    Regards,
    Naveen

  • Project Error: Open project was canceled or RoboHelp was unable to load database

    Hi,
    I checked an HTMLHelp project out of SourceOff Site (SOS),
    then attempted to open it locally with RoboHelp 5 when I got the
    error message: "Open project was cancelled or RoboHelp was unable
    to load database."
    I found the TechNote for this error message (rb_3245) which
    said to delete the .xpj and .cpd files, then right-click the HHP
    file and click Edit to open the project. This worked fine for
    opening the project, however the Primary Layout Source defaulted to
    WebHelp. I reset the Primary Layout Source to HTMLHelp which caused
    all of the graphics in the project to not display. I fixed this
    issue, compiled the Help, and all appeared to be fixed. I checked
    the project back into SOS to back it up. This morning, I checked it
    out of SOS and tried to open the project locally again, only to get
    the same error. I closed the project, undid the check-out, and
    asked another writer to check-out the project then open it locally
    to see if he got the same error. He did not get the error.
    I am not sure what could be wrong on my computer that is
    causing this error. I had no problems opening and using this
    project until yesterday and I made no file name or path changes to
    the project. Any ideas on what may be wrong?

    Welcome to the forum.
    The message is usually easily dealt with. I haven't checked
    the article as you didn't include a link but I'm guessing it
    involved deleting a couple of files and then using the HHP file to
    open the project.
    What is more worrying is that you cannot create a new
    project.
    Have you tried opening one of the supplied sample files?
    Are your projects stored locally and not on a network?
    Have IT given you a new profile to log on with?
    Has anything else changed in your environment?

  • Database, Dataset, Table Adaptors Error "Unable to load, Update requires a valid DeleteCommand when passed DataRow collection with deleted row"

    Microsoft Visual Basic 2010 Express.
    I am new to Visual Basic programing and i am trying to understand the relationships between Datasets, database, table Adaptors. I have to following code that is is giving me the following error" Unable to load, Update requires a valid DeleteCommand
    when passed DataRow collection with deleted rows". 
    I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
    It seems that i can delete the data on the DataGridView Table and it only displays the correct data. but my database is not updating, even though the data grid displays differently.I can determine this because, when i save the offset database, i have all
    the previous uploads and all the rows that i wanted to delete are still there.
    My final goal is to be able to import offset data from a CSV file, save this data on the pc, send a copy of this data to a NuermicUpDown so the customer can modify certain numbers. From here they download all the date to a controller.  IF the customer
    needs to modify the imported data, they can go to a tab with a data grid view and modify the table. They will also have to option to save the modified data into a csv file.  
    Im not sure if i am making this overcomplicated or if there is a easier way to program this.
    CODE:
    Private Function LoadOffSetData()
            Dim LoadOffsetDialog As New OpenFileDialog 'create a new open file dialog and setup its parameters
            LoadOffsetDialog.DefaultExt = "csv"
            LoadOffsetDialog.Filter = "csv|*.csv"
            LoadOffsetDialog.Title = "Load Offset Data"
            LoadOffsetDialog.FileName = "RollCoaterOffset.csv"
            If LoadOffsetDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then  'show the dialog and if the result is ok then
                Try
                    Dim myStream As New System.IO.StreamReader(LoadOffsetDialog.OpenFile) 'try to open the file with a stream reader
                    If (myStream IsNot Nothing) Then 'if the file is valid
                        For Each oldRow As MaterionOffsetDataSet.OffsetTableRow In MaterionOffsetDataSet.OffsetTable.Rows
                            oldRow.Delete()                       
    'delete all of the existing rows
                        Next
                        'OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
                        Dim rowvalue As String
                        Dim cellvalue(25) As String
                        'Reading CSV file content
                        While myStream.Peek() <> -1
                            Dim NRow As MaterionOffsetDataSet.OffsetTableRow
                            rowvalue = myStream.ReadLine()
                            cellvalue = rowvalue.Split(","c) 'check what is ur separator
                            NRow = MaterionOffsetDataSet.OffsetTable.Rows.Add(cellvalue)
                            Me.OffsetTableTableAdapter.Update(NRow)
                        End While
                        Me.OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
                        MainOffset.Value = OffsetTableTableAdapter.MainOffsetValue          'saves all the table offsets
    to the offset numericUpDown registers in the main window
                        StationOffset01.Value = OffsetTableTableAdapter.Station01Value
                        StationOffset02.Value = OffsetTableTableAdapter.Station02Value
                       myStream.Close() 'close the stream
                        Return True
                    Else 'if we were not able to open the file then
                        MsgBox("Unable to load, check file name and location") 'let the operator know that the file wasn't able to open
                        Return False
                    End If
                Catch ex As Exception
                    MsgBox("Unable to load, " + ex.Message)
                    Return False
                End Try
            Else
                Return False
            End If
        End Function

    Hello SaulMTZ,
    >>I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
    This error usually shows that you do not initialize the
    DeleteCommand object, you could check this
    article to see if you get a workaround.
    >> Im not sure if i am making this overcomplicated or if there is a easier way to program this.
    If you are working CSV file, you could use OleDB to read it which would treat the CSV file as a Table:
    http://www.codeproject.com/Articles/27802/Using-OleDb-to-Import-Text-Files-tab-CSV-custom
    which seems to be easier (in my opinion).
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error: 1002097 Unable to load database in Essbase 11.1.2.2

    Hi All,
    I am getting error like Error: 1002097 Unable to load database when I tried to load an application using MAxl. We have installed 11.1.2.2 version newly and till yester all the process was working fine. I was able to run some automation batch scripts on the essbase application. Sudden Application stops responding. I am able to load the sample application which are come with the essbase. But, only my test application is not working fine.
    I have tried Essbase server restart. But, no luck. Could any one suggest what might be the reason and how to debug.
    Thanks
    Sri

    Hi Sri,
    Please look into the below forum.. Hope it might help you...
    Ref: https://kr.forums.oracle.com/forums/thread.jspa?threadID=874484
    Sol 2:
    Ref: http://www.network54.com/Forum/58296/thread/1185858760/Unable+to+Load+Database
    The best solution I have found so far is to stop the application and delete or rename all .ind, .pag, .esm and .tct files for the troubled database and restart the application.
    It will create these files from scratch and you can load your data.
    Note: Please take the necessary backup before trying..
    Thanks

  • SWPM - System Copy - Assertion Failed Unable to load database

    Hello again,
    (already the next question form me, sorry for this
    I am executing a sysetm copy (DB-refresh) on ASE using SWPM.
    However, in "Configure Components" step I get the error: Assertion failed. Unable to load database <SID of Target Sysetm>.
    Where else can I check for errors?
    I think it is still something on which I already worked (with other thread).
    In sapinst_dev.log I found this
    TRACE      2015-03-25 11:05:00.320
    SAPInst calls the LogInquirer. The output of the LogInquirer can be found in file sapinst_loginquirer.log.
    TRACE      2015-03-25 11:05:06.122 [iaxxgenimp.cpp:638]
                CGuiEngineImp::showMessageBox()
    <html> <head> </head> <body> <p> An error occurred while processing option <i>SAP Enhancement Package 1 for SAP N
    etWeaver 7.3 > SAP ASE > System Copy > Target System > Standard System > Based on AS ABAP > Database Refresh or M
    ove( Last error reported by the step: Assertion failed: Unable to load database <SID>.)</i>. You can now: </p> <ul>
    <li> Choose <i>Retry</i><br>to repeat the current step. </li> <li> Choose <i>Log Files</i><br>to get more inform
    ation about the error. </li> <li> Stop the option and continue later. </li> </ul> <p> Log files are written to /t
    mp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF. </p> </body></html>
    TRACE      2015-03-25 11:05:06.124 [iaxxgenimp.cpp:1031]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    In sapinst.log I found this:
    ERROR 2015-03-25 11:04:59.573
    FCO-00011  The step syb_step_setup_preload with step key |NW_ABAP_DB_DBRefresh|ind|ind|ind|ind|0|0|NW_ABAP_DB|ind
    |ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_S
    YB_DB|ind|ind|ind|ind|SYB_DB_CONTEXT|0|syb_step_setup_preload was executed with status ERROR ( Last error reporte
    d by the step: Assertion failed: Unable to load database <SID>.).
    INFO 2015-03-25 11:04:59.772
    Creating file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/__instana_tmp.xml.
    INFO 2015-03-25 11:05:00.307
    Removed file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/instslana.xml.
    INFO 2015-03-25 11:05:00.308
    Creating file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/instslana.xml.

    Hello Kiran,
    I did a few tests again yesterday, and it was really a stupid mistake from myside.
    The error message did mean, that there wasn't enough space.
    It isn't the authority issue, it was a leak of space.
    FYI, the complete DB-Size of Source System is required - NOT JUST RESERVED SPACE!!!
    Thx for help and sorry for stealing your time :O

  • 1002097 Unable to load database [Plan1]

    Hi all,
    I am not able to start the database from essbase. When i start the databse from app, I am getting below message from the panel.
    server.XXXXAPP.Plan1     Get database properties     April 5, 2011 2:57:27 PM CAT     Failed
    Error: 1002097 Unable to load database [Plan1]
    Error: 1042015 Network error: Cannot Locate Connect Information For []
    server.XXXXAPP.Plan1     Get database properties     April 5, 2011 2:57:36 PM CAT     Failed
    Error: 1053001 Cannot open object file: C:\Hyperion\products\Essbase\EssbaseServer\app\XXXXAPP\Plan1\Plan1.esm
    server.XXXXAPP.Plan1     Get database properties     April 5, 2011 2:57:36 PM CAT     Failed
    Error: 1053001 Cannot open object file: C:\Hyperion\products\Essbase\EssbaseServer\app\XXXXAPP\Plan1\Plan1.esm
    server.XXXXAPP.Plan1     Get database properties     April 5, 2011 2:57:40 PM CAT     Failed
    Error: 1002097 Unable to load database [Plan1]
    I tried deleting the app from essbase and create it from planning (through refreh/create) that is also giving me a olap planning exception "Unable to load database"
    I can not open forms as well. it is giving me "Unable to obtain a connection to Hyperion Essbase. If this problem persists, please contact your administrator"
    Any Help..?
    Thanks !
    Edited by: user8819264 on Apr 5, 2011 7:52 AM
    Edited by: user8819264 on Apr 5, 2011 8:27 AM

    Hi John,
    Sry for the delayed reply. The issue was the same as you suggested. There were few esssvr processes running. I couldnt see that from the taskmanager i as was looking on the process that were running with the user i logged in. I could see all once i selected checkbox from "All users". Killed those services and now it is fine.
    Thanks.

  • Unable to load database

    Hi,
    When I try to launch a form in my planning application I get the following error:
    *"Unable to obtain a connection to Hyperion Essbase. If this problem persists, please contact your administrator."*
    However, I have verified that the essbase service is running and running the EAS I have verified that the essbase application/database is available. I can open the outline and other functions from within EAS.
    When I try to run a calculation script, I get the following error:
    *"Calculation script execution failed.
    Please see message panel for details."*
    In the message panel I get the following messages:
    *"localhost.<AppName>.<DBName>.<ScriptName>     Execute calculation script     January 21, 2009 10:35:52 AM GMT+05:00     Failed*
    *Error: 1002097 Unable to load database [<DBName>]"*
    I am a little clueless as to how to resolve this issue. This problem developed spontaneously without there being any changes to the system at all. I have restarted the services multiple times as well as the machine but to no avail.
    Any help would be appreciated.
    Shehzad

    Hi,
    You say the application/database are available but are you sure, if you stop/start it in EAS is it starting up, can you edit the outline.
    If it is not starting up, stop the essbase service, look in task manager do you see any esssvr.exe processes running, if you do you need to end their process in task manager.
    Now start up essbase again and try and open the app/db.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to load database information

    Hello All,
    I am facing an issue while scheduling a crystal report from CMC or Infoview. When I schedule the report It throws an error saying "Unable to Load Database information". The report's data source connection is oracle database. 
    I have provided the database credentials,format and destination in CMC/Infoview. The BOE environment is as follows:
    OS: Windows 2008 server 64 bit
    BOE: Business Objects 3.1sp3, Crystal reports 2008 sp3
    Oracle Client: oracle 11g 32 bit client
    When I change the connection from oracle server to ODBC connection the report works fine. Is there any steps I am missing or is there database drivers connectivity issue because BOE and oracle are 32 bit client and OS is 64 bit client.
    All the suggestion/answers are appreciated.
    Thanks in advance...

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

  • Open project was canceled or RoboHelp was unable to load database

    I have Robohelp 2002r2 and am creating Robohelp HTML help.
    The project was ok yesterday but today when I try to open it I get
    the error message "Open project was canceled or RoboHelp was unable
    to load database". I tried the solutions in the knowledgebase
    (rb_3245) but still no luck. I can't even create a new project
    either or I get the same message. Anybody know what to
    do????

    Welcome to the forum.
    The message is usually easily dealt with. I haven't checked
    the article as you didn't include a link but I'm guessing it
    involved deleting a couple of files and then using the HHP file to
    open the project.
    What is more worrying is that you cannot create a new
    project.
    Have you tried opening one of the supplied sample files?
    Are your projects stored locally and not on a network?
    Have IT given you a new profile to log on with?
    Has anything else changed in your environment?

Maybe you are looking for