Unable to load tables in OSES

Im refering Document :http://st-curriculum.oracle.com/tutorial/SESAdminTutorial/index.htm " Defining Table Source
When i got to dispaly URL which webservice it is asking for and how to amke web service in OSES
PLZ help

Please clarify your question. Tell us exactly which part of the document you are following, what steps you take and what error messages (if any) you see.

Similar Messages

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

  • Unable to load data / NullReferenceException only on certain tables when deployed

    I have a LightSwitch app that works fine when being debugged locally. But it has a strange issue when deployed as a Cloud Service to Azure. I have two Silverlight grid controls on the page which display a red x and give the error, "Unable to load data.
    Please check your network connection and try loading again."
    Several other queries are running on this page and correctly pull data from other tables in the database. The queries that run correctly are tied to label or text box controls.
    The queries that fail, return an HTTP Status code 500 (Internal error). If I try and pass the query to a constructor as an IVisualCollection,
    and I wrap the call in a Try block,
    the Inner Exception is "Object reference not set to an instance of an object." So, a Null Reference Exception. Checking for null before the constructor call and popping up a message box if the query was null as a means of debugging yielded nothing. I
    create these helpers all over. Only two are causing an issue and only when deployed. In addition, running the query in the Management Portal also completes fine.
    Try
    'Check for nulls
    If (Me.qQuoteByFirm Is Nothing) Then
    Me.ShowMessageBox("qQuoteByFirm", "Error", MessageBoxOption.Ok)
    End If
    If (Me.qQuoteByFirm.Screen Is Nothing) Then
    Me.ShowMessageBox("Screen", "Error", MessageBoxOption.Ok)
    End If
    If (New ModalWindowHelper(Me.qQuoteByFirm, "mwAddQuote", "Quote") Is Nothing) Then
    Me.ShowMessageBox("Modal", "Error", MessageBoxOption.Ok)
    End If
    'Create helper
    Me.HelperAddQuote = New ModalWindowHelper(Me.qQuoteByFirm, "mwAddQuote", "Quote")
    Catch ex As Exception
    Dim err As String = ""
    For Each item In ex.Data
    err = err & item.ToString()
    Next
    err = err & ex.InnerException.ToString() & vbCrLf & _
    ex.Message.ToString() & vbCrLf & _
    ex.StackTrace
    Me.ShowMessageBox(err, "Error", MessageBoxOption.Ok)
    End Try
    'Constructor
    Public Sub New(ByVal visualCollection As IVisualCollection, _
    ByVal dialogName As String, _
    Optional entityName As String = "")
    _collection = visualCollection
    _dialogName = dialogName
    _entityName = If(entityName <> "", entityName, _collection.Details.GetModel.ElementType.Name)
    _screen = _collection.Screen
    End Sub
    The actual construction of the queries does not seem to matter. I've tried several variations along with requesting the entire table. Same result. However, this only occurs on two specific tables. Grid controls displaying other tables on other screens work
    properly.
    Here's the weird part. If I comment out the call to the constructor, I can gain access to the gird control and add data to it even through the red box remains. If I refresh the grid control, the data disappears as if it wasn't saved or isn't there. But inspecting
    the table in SQL Azure Management Portal shows that the data was properly populated in the table.
    The app and the database are clearly connected and able to communicate fine. So why when reading from these two tables (but not writing to) are my grid controls throwing exceptions? Why does this only happen when deployed? What other techniques can I use to
    get more information?

    I am not very familiar with Lightswtich. But 500 is a server side error. Do you manually code the server side, or does Lightswitch automatically generates the server side code? If you manually coded, then please try to catch exceptions in
    your server side code. If the code is automatically generated, you may want to consult a Lightswitch forum on how to troubleshooting such issues. What's more, when you refresh the grid, what code are invoked? Try to check that piece of code and see if there're
    any problems, such as you reload the grid with empty data.

  • Unable to load data in to table using sqlloader

    Hi,
    Oracle Version :10.2.0.1
    Operating system:windows Xp
    I was unable to load the data in to table from csv file .Can any one please help me .
    Here is the output of my log file
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jun 3 12:43:22 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Control File:   ach_staging.ctl
    Data File:      E:\SQL LOADER\ACH_STAGING.csv
      Bad File:     E:\SQL LOADER\load_bad.bad
      Discard File: E:\SQl LOADER\emp.dsc
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    Table ACH_STAGING, loaded from every logical record.
    Insert option in effect for this table: INSERT
    TRAILING NULLCOLS option in effect
       Column Name                  Position   Len  Term Encl Datatype
    ACH_CODE                            FIRST     *   ,  O(") CHARACTER           
    LOAN_CODE                            NEXT     *   ,  O(") CHARACTER           
    LOAN_TYPE                            NEXT     *   ,  O(") CHARACTER           
    TRAN_ID                              NEXT     *   ,  O(") CHARACTER           
    BO_CODE                              NEXT     *   ,  O(") CHARACTER           
    BO_NAME                              NEXT     *   ,  O(") CHARACTER           
    ST_CODE                              NEXT     *   ,  O(") CHARACTER           
    ACH_TYPE                             NEXT     *   ,  O(") CHARACTER           
    ACH_EFFECTIVE_DATE                   NEXT     *   ,  O(") CHARACTER           
    AMT                                  NEXT     *   ,  O(") CHARACTER           
    CHECK_ACCNT_NO                       NEXT     *   ,  O(") CHARACTER           
    ABA_CODE                             NEXT     *   ,  O(") CHARACTER           
    ACH_STATUS                           NEXT     *   ,  O(") CHARACTER           
    TRAN_STATUS                          NEXT     *   ,  O(") CHARACTER           
    IS_HOLD                              NEXT     *   ,  O(") CHARACTER           
    IS_CANCELLED                         NEXT     *   ,  O(") CHARACTER           
    COMMENTS                             NEXT     *   ,  O(") CHARACTER           
    UPDATED_BY                           NEXT     *   ,  O(") CHARACTER           
    DATE_UPDATED                         NEXT     *   ,  O(") CHARACTER           
    CREATED_BY                           NEXT     *   ,  O(") CHARACTER           
    DATE_CREATED                         NEXT     *   ,  O(") CHARACTER           
    LOAN_TRAN_CODE                       NEXT     *   ,  O(") CHARACTER           
    ACH_AUTH                             NEXT     *   ,  O(") CHARACTER           
    REBATE_AMT                           NEXT     *   ,  O(") CHARACTER           
    PROMOTION_AMT                        NEXT     *   ,  O(") CHARACTER           
    TDC_ACH_NO                           NEXT     *   ,  O(") CHARACTER           
    INST_NUM                             NEXT     *   ,  O(") CHARACTER           
    DISABLE_ACH                          NEXT     *   ,  O(") CHARACTER           
    STMT_NO                              NEXT     *   ,  O(") CHARACTER           
    NEW_LOAN_TRAN_CODE                   NEXT     *   ,  O(") CHARACTER           
    REVOKED_BY                           NEXT     *   ,  O(") CHARACTER           
    REVOKED_DATE                         NEXT     *   ,  O(") CHARACTER           
    CHECK_STATUS                         NEXT     *   ,  O(") CHARACTER           
    value used for ROWS parameter changed from 64 to 30
    Record 1: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 2: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 3: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 4: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 5: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 6: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 7: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 8: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 9: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 10: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 11: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 12: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 13: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 14: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 15: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 16: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 17: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 18: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 19: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 20: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 21: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 22: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 23: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 24: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 25: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 26: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 27: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 28: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 29: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 30: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 31: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 32: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 33: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 34: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 35: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 36: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 37: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 38: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 39: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 40: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 41: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 42: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 43: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 44: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 45: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 46: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 47: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 48: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 49: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 50: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 51: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
    Table ACH_STAGING:
      0 Rows successfully loaded.
      51 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    Space allocated for bind array:                 255420 bytes(30 rows)
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:            60
    Total logical records rejected:        51
    Total logical records discarded:        0
    Run began on Thu Jun 03 12:43:22 2010
    Run ended on Thu Jun 03 12:43:23 2010
    Elapsed time was:     00:00:00.17
    CPU time was:         00:00:00.10
    {code}
    and the data from the CSV file is
    {code}
    1767641     7537506     ILP     ADV     506703     MICHELLE WHITE     -40     CRE     07-NOV-08 01.36.04.000000000 PM     650               INP     PRO     N     N          54564     06-NOV-08 06.06.28.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2060997     PPD     0     0          0     N     1                    ACH
    1767642     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-DEC-08 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     28-NOV-08 09.00.17.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2061201     PPD     0     0          1     N     1                    ACH
    1767643     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-DEC-08 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     15-DEC-08 09.00.16.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2061614     PPD     0     0          2     N     1                    ACH
    1767644     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     02-JAN-09 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     31-DEC-08 09.00.55.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2063375     PPD     0     0          3     N     1                    ACH
    1767645     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-JAN-09 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     15-JAN-09 09.01.10.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2064023     PPD     0     0          4     N     1                    ACH
    1767646     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     02-FEB-09 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     30-JAN-09 09.00.22.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2064639     PPD     0     0          5     N     1                    ACH
    1767647     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     17-FEB-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          6     N     1                    ACH
    1767648     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     02-MAR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          7     N     1                    ACH
    1767649     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-MAR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          8     N     1                    ACH
    1767650     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-APR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          9     N     1                    ACH
    1767651     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-APR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          10     N     1                    ACH
    1767652     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-MAY-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          11     N     1                    ACH
    1767653     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     18-MAY-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          12     N     1                    ACH
    1767654     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-JUN-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          13     N     1                    ACH
    1767655     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-JUN-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          14     N     1                    ACH
    1767656     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-JUL-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          15     N     1                    ACH
    1767657     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-JUL-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          16     N     1                    ACH
    1767658     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     03-AUG-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          17     N     1                    ACH
    1767659     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     17-AUG-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          18     N     1                    ACH
    {CODE}
    Thanks & Regards,
    Poorna Prasad.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    At last i was able to insert the data into the table but here i am facing another problem i the csv file i am having some null values in the data because of that only few records was inserted and remaining data was not inserted.
    Here is the syntax what i am using to insert even null values are present
        ACH_EFFECTIVE_DATE "to_timestamp(:ACH_EFFECTIVE_DATE,'DD-MON-RR HH.MI.SSXFF AM')" NULLIF ACH_EFFECTIVE_DATE=BLANKSand the error what i am getting is
    E:\SQL LOADER>sqlldr userid=rr/rr control=ach_staging.ctl log=ss1.log
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Jun 4 12:24:32 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL*Loader-350: Syntax error at line 16.
    Expecting "," or ")", found keyword nullif.
    EFFECTIVE_DATE,'DD-MON-RR HH.MI.SSXFF AM')" NULLIF ACH_EFFECTIVE_DATE=
                                                ^
    {code}
    can any one please help me what is the correct syntax i need to user here .
    Thanks & Regards,
    Poorna Prasad.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Unable to load the tables in the Power Pivot Window – An Item with the Same Key has already been added

    Hi there,
    I recently had the following situation, where I changed the source of my CSV file in Power Query.
    Once I had reloaded the file, it would then not load into Power Pivot. So I disabled the loading from Power Query into Power Pivot. I then enabled the loading to the Data Model. Which then successfully loaded the data into Power Pivot.
    But once I went into Power Pivot, had a look, then saved the Excel file. Once saved I closed the Excel file. I then opened the Excel file again and all the sheets that interact with the Power Pivot data work fine.
    But if I go and open Power Pivot I get the following error: Unable to load the tables in the Power Pivot Window – An Item with the Same Key has already been added.
    This is what I get from the Call Stack
       at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       at Microsoft.AnalysisServices.Common.LinguisticModeling.SynonymModel.AddSynonymCollection(DataModelingColumn column, SynonymCollection synonyms)
       at Microsoft.AnalysisServices.Common.LinguisticModeling.LinguisticSchemaLoader.DeserializeSynonymModelFromSchema()
       at Microsoft.AnalysisServices.Common.SandboxEditor.LoadLinguisticDesignerState()
       at Microsoft.AnalysisServices.Common.SandboxEditor.set_Sandbox(DataModelingSandbox value)
       at Microsoft.AnalysisServices.XLHost.Modeler.ClientWindow.RefreshClientWindow(String tableName)
    I would assume that the issue is with the synonyms and for some reason, when I disabled the loading of my data into the Power Pivot Model, it did not remove the associations to the actual table and synonyms.
    If I renamed the table in Power Pivot it all works fine. So that was my work around. Fortunately I did have a copy of the Excel workbook before I made this change. So I could then go and add back in all the relevant data to my table.
    Has anyone had this before and know how to fix it?
    http://www.bidn.com/blogs/guavaq

    Hi there
    I can share the work book, if possible to send me an email address. As the workbook size is about 9Mb.
    Thanks
    Gilbert
    http://www.bidn.com/blogs/guavaq

  • Getting an "unable to Load the tables in the power pivot window" error

    Hello,
    I have 2 worksheets in a excel file and would like to load both into a power pivot table. When I click the 'create linked table' in the pwer pivot ribbon, The powerpivot window open and looks like its about to load the data but then I get
    a popup dialogue box with the following error:
    Unable to load the tables in the powerpivot window 
    ============================
    Error Message:
    ============================
    The given key was not present in the dictionary.
    ============================
    Call Stack:
    ============================
       at System.ThrowHelper.ThrowKeyNotFoundException()
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at Microsoft.AnalysisServices.Modeler.SheetTabs.PopulateSheetList(String selKey)
       at Microsoft.AnalysisServices.Modeler.SheetTabs.SetSelectedSheet(String key)
       at Microsoft.AnalysisServices.Modeler.ClientWindow.RefreshClientWindow(String tableName)
    ============================
    When I try again, there is a meesage saying the table is already linked but I dont see any data.
    has Anyone seen this error before and know what to do?
    Thanks,
    Nathan

    Hi
    I get first the same error as above but after I look into the details I see the following error message:
    in translation the error message is: There is already a item with the same key added.
    I can open the power pivot window in diagram view. And after I refresh the data in one of the tables I can open it in the table view. I have already searched for "!" signs in the calculations and searched for calculations with same name but that
    is not the problem.
    Also I can't open the synonym window. I think this has something to do with it because I've made changes in the synonyms.
    ============================
    Foutbericht:
    ============================
    Er is al een item met dezelfde sleutel toegevoegd.
    ============================
    Aanroepstack:
    ============================
       bij System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       bij Microsoft.AnalysisServices.Common.LinguisticModeling.SynonymModel.AddSynonymCollection(Tuple`2 measure, SynonymCollection synonyms)
       bij Microsoft.AnalysisServices.Common.LinguisticModeling.LinguisticSchemaLoader.DeserializeSynonymModelFromSchema()
       bij Microsoft.AnalysisServices.Common.SandboxEditor.LoadLinguisticDesignerState()
       bij Microsoft.AnalysisServices.Common.SandboxEditor.set_Sandbox(DataModelingSandbox value)
       bij Microsoft.AnalysisServices.XLHost.Modeler.ClientWindow.RefreshClientWindow(String tableName)
    ============================
    Thanks,
    Leo

  • Unable to load staging area table in teradata from ODI

    Hi
    i'm unable to load data in Staging area in teradata. while loading i'm geeting following Error
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 9, in ?
    Load Error: See D:\CRM_MOD\/CRM_PRODUCT_SS_0.log for details
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    please any one help me
    Thanks
    Edited by: user12079238 on Oct 19, 2009 1:17 AM

    Hi,
    I believe you made some mistake in the Phisycal Schema, quit the last "\" from there....
    Cezar Santos
    [www.odiexperts.com]

  • 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

  • Project Details Web Part Unable To Load

    We have recently migrated a customer's Project Server 2007 instance to Project Server 2013. While opening some of the projects in PWA to edit the project custom fields, we encountered an error "This Web Part was unable to load.". Further investigation
    found that it was due to some non-mandatory custom fields having lookup tables and graphical indicators, but were entered as blank. We did not have any problems in Project Server 2007. Is there any solution for this?
    The ULS log shows the following error: 
    [bucketHash:E8DACC42] Webpart ProjectFieldPart failed in PageLoadComplete. Unique ID: 06385c9c-53dd-20d6-7f2f-37a33f0b405c System.InvalidCastException: Cannot cast DBNull.Value to type 'System.Guid'. Please use a nullable type.     at System.Data.DataRowExtensions.UnboxT`1.ValueField(Object
    value)     at Microsoft.Office.Project.PWA.CustomFieldUtil.<BuildCFInputRow>b__0(DataRow row)     at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()     at System.Collections.Generic.List`1..ctor(IEnumerable`1
    collection)     at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)     at Microsoft.Office.Project.PWA.CustomFieldUtil.BuildCFInputRow(Control ctlParent, CustomFieldsRow cf, String cfID, Hashtable htValues,
    ArrayList clientIdAl, ArrayList divBtnPairs, Boolean useSecondaryUid, Boolean fieldReadOnly, Boolean isBulkEdit, String currency, Boolean loadDefaultForLU, Boolean forceSingleValue, LookupTableDataSet ltds, Nullable`1 serverSeparator, Page page)    
    at Microsoft.Office.Project.PWA.WebParts.ProjectFieldPartBase.RenderReadWriteProjectField(Guid customFieldGuid, ProjectFieldDisplayModel customFieldInfo, Literal lblName, Literal lblDescription, PlaceHolder pchCFControl, String[] containingElements)    
    at Microsoft.Office.Project.PWA.WebParts.ProjectFieldPartBase.ProcessCustomFieldControl(Guid customFieldGuid, Literal lblName, Literal requiredControl, Literal lblDescription, PlaceHolder pchCFControl, String[] containingElements)     at
    Microsoft.Office.Project.PWA.WebParts.ProjectFieldPartBase.ReplacePlaceHoldersWithCustomFieldControls()     at Microsoft.Office.Project.PWA.WebParts.PWAResiliencyPart.PageLoadComplete_ResiliencyCallback(Object sender, EventArgs e) StackTrace: 
    at Microsoft.Office.Project.Server.Native.dll: (sig=85ae470f-554c-4a8c-992e-92aeb657c829|2|microsoft.office.project.server.native.pdb, offset=3C1E) at Microsoft.Office.Project.Server.Native.dll: (offset=1255D)

    Hi,
    Try to update web from following after migration you need to perform below for web part
    $Web = get-SPWeb $Web.AllProperties | Format-Table
    $Web.AllProperties[“PWAURL”]=””
    $Web.Update()
    $Web = get-SPWeb 
    $Web.AllProperties | Format-Table
    $Web.AllProperties[“PWAURL”]=””
    $Web.Update()
    also from you last reply i understood that after removing custom field which are having graphical indicator and look up PDP is working as expected. It means look up and graphical indicator is creating issues.
    For Custom field which are having look up field if no value will be selected then it may give error its a expected behavior. It means you need to fill values in those custom field else you will face issue.
    For Graphical Indicator issue: Go through below links 
    http://social.microsoft.com/Forums/en-US/6cdfc2bf-1df7-4b26-a60f-220364093bda/pdp-webpart-and-graphical-indicators?forum=project2010custprog
    http://social.technet.microsoft.com/Forums/projectserver/en-US/75b8f6af-0060-4870-a50d-45d44b58cf5f/indicators-on-pwa-not-displaying-project-server-2010-dec-cu
    Hope it will help. Please let me know the out come. 
    kirtesh

  • ODI Error Unable to load data

    Hi Frnds,
    I'm New to ODI tech. i need your assistance in resolving the following issue:
    My source has - 6 rows of data
    My target has - no rows.
    both source and target are oracle, and i used Ikm: sql to oracle and IKM: sql control append and oracle incremental update
    but still it was unable to load the data.
    In the operator window, i was able to view that data have been loaded. - in step 3.
    But in step 6 - integration - insert new rows showing error.
    The Return code of error : 4098
    Message: ora-04098: trigger is invalid and failed revalidation.
    Even, when i tried using toad to enter the data into target database manually by writing query. It was showing same error for me.
    Is the issue is with ODI or with Oracle database ?
    Is there any method to resolve the issue ? How do we handle triggers in ODI ?
    Thanks in advance,
    Raj.

    Nobody would know the answer to your question.
    Yes you can drop the trigger. You can also drop the table too. And there will be no need to create an interface or move data.
    Sorry, I am being sarcastic here.
    We will not know if that trigger is needed or not. Maybe it belongs to an ERP app that is maintaining some business rules or its an OBIEE staging area and needs trigger to validate data. Who knows.
    You should ask your administrator as to why the trigger is invalid. What is the use of the trigger. Try to find out the source of the problem.
    You should not simply drop the trigger.

  • Impossibile caricare le informazioni del database (Unable to load datab...)

    I built a report with a table of which I have only defined the structure of the fields in a file. Ttx.
    from the website build and fill a dataset then step how ReportDocument's DataSource.
    This works fine on development machine.
    when I deploy on production server (win2008R2) where you installed the runtime CR13_0_2, I have always the error "Unable to load database information" and does not generate the report.

    You can not use TTX based reports with CRVS2010. See the blog [How to use reports based on multiple TTX files in Visual Studio .NET|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/18897] for more details.
    Reference KB: 1468232
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Unable to load Driver Class

    Hi There:
    When I try to connect to the Oracle 8i via this applet , I get the following run time error.
    Any help will be appreciated.
    I am using j2sdkee1.3.1, jdk1.3.1_02 and Oracle8.
    I also need your suggestion please. I have inserted some BLOB data in the Oracle table. I will need to display the BLOB data to the end users. I plan to convert this BLOB data into string format so that my applet can display the same. Further the string will have to be edited by the end users. I will then convert this modified string back to byte array so that I can insert the same as BLOB.
    Please let me know applet or the servlet? Which is better option.
    Users are reluctant to use any kind of WebServer because it will introduce the additional layer of complexity.
    Any help will be greatly appreciated.
    Thanks in advance.
    C:\>AppletViewer JdbcApplet.html
    Unable to load Driver Class
    java.lang.ClassNotFoundException: java.io.FileNotFoundException: C:\oracle\jdbc\
    driver\OracleDriver.class (The system cannot find the path specified)
    The following code snippet fails because it is unable to find the suitable driver.
    if (conn == null)
         //make a connection to the db
         try {     
              // conn = DriverManager.getConnection ("jdbc:oracle:thin:@"+"localhost:1521:sys", "system", "manager");
              // conn = DriverManager.getConnection ("jdbc:oracle:thin:system/manager@(description=(address_list= (address=(pro tocol=tcp)(host=localhost)(port=1521)))(source_route=yes)(connect_data=(sid=sys)))" );
              Class.forName("oracle.jdbc.driver.OracleDriver");
              String conurl="jdbc:oracle:thin:@localhost:1521:sys";
              Connection con=DriverManager.getConnection(conurl,"system","manager");
         } catch ( Exception e ) {
              System.out.println ("Unable to load Driver Class");
              e.printStackTrace (System.out);
              // add send email notification about this fact
              return false;
    } // End of if Statement from conn...

    Hi,
    maybe I'm too late but try the following :
    It seems that Your IDE doesn't check the path to Your classesxxx.zip file.
    Or Your classesxxx.zip file is corrupt.
    We had this error after downloading the classes12.zip for Oracle versions
    higher 8.1.6.
    The original size of this file is 1.888kB.
    Remember Windows FTP is downloading in ascii mode per default.
    Or Your classpath isn't correct
    ( the Exception souns like this )
    Regards

  • Unable to load the necessary SQL connectivity library

    I am installing an older (non-Microsoft) program (32bit) that manages mail online and it requires an access to SQL Server to create database to complete installation. I am installing it on Windows Server 2003 standard. This program
    I am installing recommends SQL Server 2000. We are now running SQL Server 2005 on a separate server. For connectivity, I installed SQL server 2005 tools (full install) on the same 2003 server as the program so that this program could manage to locate
    SQL server 2005 and connect to it in order to create necessary tables and complete the installation. I already manually created the database for this program on SQL Server 2005. I created ODBC SQL Server connection string (User DSN). However, during
    installation, I am getting the following error message:
    ERROR: Setup is unable to load the necessary SQL connectivity library. This indicates that the proper client-side SQL utilities are not installed on your system. Setup cannot continue.
    Could this error be SQL Server version specific and the program only likes SQL 2000 client tools and not 2005? Are there major differences between libraries versions? Should there be something else configured? What am I missing? Thanks in advance.

    ERROR: Setup is unable to load the necessary SQL connectivity library. This indicates that the proper client-side SQL utilities are not installed on your system. Setup cannot continue.
    Could this error be SQL Server version specific and the program only likes SQL 2000
    client tools and not 2005?
    Tools are tools, not a connectivity library and by the error message the right connectivity library is missing. Ask the software vendor which one is required or look it up on the other machine, where the application works.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Unable to load the dll essapinu.dll (Integration Of essbase and OBI)

    Hi,
    I am facing an issue in generating the Hyperion-Essbase report in OBI presentation service.
    I have integrated essbase DB in OBI RPD and after that I dragged the catalogs of Essbase to BMM-->PL.Then made the consistency check and till this point its perfect.
    After that I restarted the service.Then opened the Essbase Subject area through Answers and pulled a column from Essbase table in Answers->Criteria window.But when I click the get Result button, automatically my OBI Server is getting stopped and in Server Log I am getting the following error report :
    36007 Loading repository D:\OracleBI\server\Repository\OracleBIAnalyticsApps.rpd.
    2009-10-08 18:57:43
    14055 Loading subject area: Core ...
    2009-10-08 18:57:43
    14055 Loading subject area: Usage Tracking ...
    2009-10-08 18:57:43
    14056 Finished loading subject area: Usage Tracking.
    2009-10-08 18:57:43
    14055 Loading subject area: ABC Plan ...
    2009-10-08 18:57:44
    14056 Finished loading subject area: ABC Plan.
    2009-10-08 18:58:06
    14056 Finished loading subject area: Core.
    2009-10-08 18:58:06
    nQSError: 43059 Init block 'SUB_VAR_BLOCK_10.12.68.37': Dynamic refresh of repository scope variables has failed.
    The specified module could not be found.
    **nQSError: 36001 Unable to load the dll essapinu.dll.**
    Please help me in resolving the Issue.
    Thanks.

    Which version of OBIEE? Which Essbase components are installed on the OBI machine which opnes the connection to the Essbase server? You need at least a 9.3.1 client.
    Cheers,
    C.

  • Unable to load the XML Report

    Hi,
    I am using TestStand 3.1. Someone before me has developped a lot of things in our application : specific steps, specific process model, ... . Now this person is not here anymore and I have a test report display problem.
    After an execution, the execution window cannot display the test report and displays the following message :
    "Unable to load the XML Report.
    At line 285 End tag 'NOBR' does not match the start tag 'BR'."
    Also with Internet Explorer, the test report cannot be displayed (and he locates the error at lign 287) .
    Needless to say that I am a poor guy in XML code that's why I am asking you some help.
    But, I opened the .xml with a text editor and that is the part of the code which causes the problem :
    284 </Prop>
    285 <BLOCKQUOTE>
    286 <H5><NOBR>Begin Sequence: MainSequence
    287 <BR>(X:\DATA_Utilisateur\Florian DENEVE\04_GENERIC\GenericTestMainSeq\GenericTestMainSeq.seq)<BR></BR></H5>
    288 <table BORDERCOLOR=#000000 FRAME=BOX RULES=ALL WIDTH=70%><TBODY>
    (please, be careful with the lines numbers, because i don't think that IE and TestStand have the same numbering)
    I don't know if it's a problem of basic TestStand or if it's due to the new process model and modifications realized by my previous colleague.
    Any ideas ?
    Thanks in advance for your help.

    Ok, here they are.
    There is a file called Addons.cfg.sources but I had to rename it to get it to attach
    Attachments:
    Addons.cfg.sources.txt ‏1 KB
    Addons.cfg ‏53 KB
    ResultProcessing.cfg ‏189 KB

Maybe you are looking for