Getting an error -unable to get stable set..i cant identify why??

MERGE INTO aaa_interim ai
USING (SELECT *
FROM aaa_staging
WHERE record_type = 3 or (record_type=2 and terminate_cause_id=1)) asi
ON (ai.vendor_record_id = asi.vendor_record_id) ---remove the field for session_id
WHEN MATCHED THEN
UPDATE
SET duration_seconds = asi.duration_seconds,
download_bytes = asi.download_bytes,
upload_bytes = asi.upload_bytes
WHEN NOT MATCHED THEN
INSERT (vendor_record_id ,
process_time_utc,
processed_flag,
vendor_record_creation_time,
vendor_session_id,
-- nas_ip_address,
nas_identifier,
nas_port,
user_id,
user_realm,
mac_address,
start_time_utc,
end_time_utc,-----will put null if its an interim record
duration_seconds,
utc_offset_seconds,
download_bytes,
upload_bytes,
terminate_cause_id, ---session_cont,
locationcategory,
locationid,
bsid,
-- msid,
-- MIN,
carrier_id,
pcf_id,
aaa_ip_orig,
aaa_ip_dest,
ispeak)
VALUES (asi.vendor_record_id,
asi.process_time_utc,
asi.processed_flag,
asi.vendor_record_creation_time,
asi.vendor_session_id,
--asi.nas_ip_address,
asi.nas_identifier,
asi.nas_port,
asi.user_id,
asi.user_realm,
asi.mac_address,
asi.start_time_utc,
asi.end_time_utc,
asi.duration_seconds, -------for a stop record and session_cont=1
asi.utc_offset_seconds,
asi.download_bytes,
asi.upload_bytes,
asi.terminate_cause_id,
asi.locationcategory,
asi.locationid,
asi.bsid,
-- asi.msid,
-- asi.MIN,
asi.carrier_id,
asi.pcf_id,
asi.aaa_ip_orig,
asi.aaa_ip_dest,
asi.ispeak);

i chechked it
the driving query is proper...
i am just supposed to replace where there is a matchin vendor record_id
..the problem is that it is not merging into the table where ever there is a matching vendor record_id
it is is inserting..strange????
when one record got inserted with a given vendor_reocrd_id
is is again inserting another record instead of merging.....
still wondering how?????

Similar Messages

  • Unable to get stable set of records

    I am getting error in the below statement, can someone help me to find out what is wrong here? i need an immediate help on this...
    ORA-30926: unable to get a stable set of rows in the source tables
    ORA-Error in executing meeting_occurrence table
         EXECUTE IMMEDIATE 'MERGE INTO meeting_occurrence m1
         USING (SELECT distinct     m.ma_start_date , -- start date
              m.ma_end_date , -- end date
              m.l_no , -- location no
              m.ma_no , -- meeting number
              m.dtc_no , -- day time code id
              m.dtc_time , -- dtc_time
              m.lob_no , -- line of business id
              m.msc_status , -- meeting occurance status id
              s.user_id -- leader id
         FROM '|| v_schema_name|| ' meetings_assigned m ,
         (SELECT u.user_id,sm.e_no , sm.ma_no, sm.l_no
         FROM '|| v_schema_name||' schedule_meeting sm,
         '|| v_schema_name||' employee e ,
         users u
         WHERE e.e_no = sm.e_no and e.e_no = u.employee_number and sm.FJC_NO =''L'') s
         WHERE m.l_no = s.l_no (+)
         AND m.ma_no = s.ma_no (+)
         AND EXISTS ( SELECT 1 FROM day_time_code dtc
         WHERE m.dtc_no =dtc.day_time_code_id ) ) m2
         ON (m1.meeting_number = m2.ma_no
         AND m1.location_id = m2.l_no)
         WHEN MATCHED THEN
         UPDATE
              SET m1.start_date = m2.ma_start_date ,
              m1.end_date = m2.ma_end_date ,
              -- m1.leader_employee_id = m2.user_id ,
              m1.day_time_code_id = m2.dtc_no ,
              m1.dtc_time = m2.dtc_time ,
              m1.line_of_business_id = m2.lob_no ,
              m1.meeting_occurrence_status_id = m2.msc_status ,
              m1.site_id = :v_site_id ,
              m1.last_upd_date = :v_sysdate ,
              m1.last_upd_by = :v_last_upd_by
         WHERE m1.meeting_number = m2.ma_no
         AND m1.location_id = m2.l_no
         WHEN NOT MATCHED THEN
         INSERT
              meeting_occurrence_id ,
              start_date ,
              end_date ,
              location_id ,
              meeting_number ,
              day_time_code_id ,
              dtc_time ,
              line_of_business_id ,
              meeting_occurrence_status_id ,
    leader_employee_id ,
    site_id ,
              created_date ,
              created_by ,
              last_upd_date ,
              last_upd_by
         VALUES
         ( meeting_occurrence_id_seq.nextval ,
              m2.ma_start_date , -- start date
              m2.ma_end_date , -- end date
              m2.l_no , -- location no
              m2.ma_no , -- meeting number
              m2.dtc_no , -- day time code id
              m2.dtc_time , -- dtc_time
              m2.lob_no , -- line of business id
              m2.msc_status , -- meeting occurance status id
              m2.user_id , -- leader employee id
              :v_site_id , -- site id
              :v_sysdate ,
              :v_created_by ,
              :v_sysdate ,
              :v_created_by
         )' USING v_site_id ,v_sysdate, v_last_upd_by,v_site_id,v_sysdate,v_created_by,v_sysdate,v_created_by;

    No, there can be multiple records from M2.
    there can be 1 to many relation from M1 to M2.
    if duplicate l_no and ma_no exists in M2, it should update the same row in m1 since combination of this column is unique

  • Please Help. Getting logged out automatically, cant see why!!

    Hi all
    If we leave our Mac for any time and let it go to sleep sometimes when it is woken up you are greeted with a black screen with a plain text message in blue (which is not in a window but directly on the background) which says...
    "You have only one minuet left to use your computer.
    Please close your documents and quit your session to avaiod data loss.
    Click to continue."
    When you click to continue we are returned to our respective account and can continue to work for a Minuet after which time the account is logged out and the Mac returns to the Log-in window.
    I have no idea why this is happening and it is getting rather annoying.
    First let me say that the auto log-out feature in the Security Sys Pref IS disabled! I haven't installed any new Software recently which is likely to do this.
    This morning it happened in my wifes account and I checked the log files in Console for any messages which might help. The system.log stated that "??? crashed". There was an entry written to CrashReporter ???.crash.log at the time the logout occured which I include below...
    Host Name: Derek-Arridges-Computer
    Date/Time: 2006-01-08 09:40:26.128 +0000
    OS Version: 10.4.3 (Build 8F46)
    Report Version: 3
    Command: ???
    Path: ???
    Parent: ??? [0]
    Version: ??? (???)
    PID: -1
    Thread: Unknown
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNINVALIDADDRESS (0x0001) at 0x068dd6b8
    (null)
    Unknown thread crashed with PPC Thread State 64:
    srr0: 0x0000000090461368 srr1: 0x100000000200f030 vrsave: 0x00000000c3fc0000
    cr: 0x42048024 xer: 0x0000000020000000 lr: 0x00000000903d412c ctr: 0x00000000903d38fc
    r0: 0xffffffffffb6b6b6 r1: 0x00000000f0313fb0 r2: 0x00000000a0375290 r3: 0x00000000069ab5ae
    r4: 0x0000000000000220 r5: 0x00000000068dd6b8 r6: 0x0000000000000c00 r7: 0x0000000000000000
    r8: 0x000000000000001f r9: 0xffffffffff000000 r10: 0x00000000069ab5af r11: 0x00000000068dd6b8
    r12: 0x0000000000000063 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
    r16: 0x0000000006420e30 r17: 0x000000000640ab40 r18: 0x000000000640afd0 r19: 0x0000000000000000
    r20: 0x00000000f0314960 r21: 0x00000000a319c554 r22: 0x0000000000000001 r23: 0x000000000640aff0
    r24: 0x00000000a0374cd4 r25: 0x0000000000000001 r26: 0x0000000000000220 r27: 0x0000000000000c00
    r28: 0x0000000000000064 r29: 0xffffffffff000000 r30: 0x0000000000000000 r31: 0x00000000904612c8
    Binary Images Description:
    This log entry is not very helpful at all. It seems to me like a system component crash??
    There are 4 user accounts on my Mac. Mine, my Wifes, my Daughters (which is strongly restricted using Parental Controls) and a Test User Account. I have not had a chance to see if the same happens in the Test Account yet...
    What is the "System Events" Application? It is in my wifes account login items but not mine which I find rather strange.
    Thanks in advance for any help.

    Hey
    Will do that. However I think I might have found out what is causing it. I have Watcher installed which will time different users computer use. It will also allow you to assign users so much time for each user befor they will be logged out. I think I have had a prference set wrongly and that is what is happening. After 23hrs 59min any user will be logged out. I have reset the pref and will see what happens.
    Thanks for your help amyhow...

  • Error:Unable to interpret "TABLE".

    When I use BTE, There is an error in FM Z_WRITE_TO_QUEUE in R/3.
    FUNCTION Z_WRITE_TO_QUEUE.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(I_DATASOURCE) TYPE  ROOSOURCE-OLTPSOURCE
    *"  TABLES
    *"      I_T_DATA OPTIONAL
    TYPE-POOLS:
        sbiwa.
      DATA:
        l_exstruct TYPE roosource-exstruct,
        l_initflag TYPE roosprmsc-initstate,
        l_subrc    TYPE sy-subrc,
        lr_is_data TYPE REF TO data,
        lr_es_data TYPE REF TO data,
        lr_et_data TYPE REF TO data,
        l_t_fields TYPE sbiwa_t_fields,
        l_t_select TYPE sbiwa_t_select.
      FIELD-SYMBOLS:
        <i_s_data> TYPE ANY,
        <e_s_data> TYPE ANY,
        <e_t_data> TYPE STANDARD TABLE.
    Check to see if Delta initialization has been performed.
      SELECT SINGLE initstate FROM roosprmsc INTO l_initflag
             WHERE  oltpsource  = i_datasource
             AND    rlogsys     NE space
             AND    slogsys     NE space
             AND    initrnr     NE space.
    If initialization has taken place continue
      IF sy-subrc EQ 0 AND l_initflag EQ 'X'.
      grab the extraction structure from roosource based on the
      datasource parameter input.
        SELECT SINGLE exstruct FROM roosource INTO l_exstruct
               WHERE  oltpsource  = i_datasource
               AND    objvers     = 'A'.
        CHECK sy-subrc = 0.
        CREATE DATA lr_is_data LIKE LINE OF i_t_data.
        ASSIGN lr_is_data->* TO <i_s_data>.
        CREATE DATA lr_es_data TYPE (l_exstruct).
        ASSIGN lr_es_data->* TO <e_s_data>.
        CREATE DATA lret_data TYPE STANDARD TABLE OF (l_exstruct)._
          ASSIGN lr_et_data->* TO <e_t_data>.
        LOOP AT i_t_data ASSIGNING <i_s_data>.
          CLEAR <e_s_data>.
          MOVE <i_s_data> TO <e_s_data>.
         MOVE-CORRESPONDING <i_s_data> TO <e_s_data>.
          INSERT <e_s_data> INTO TABLE <e_t_data>.
        ENDLOOP.
        CALL FUNCTION 'EXIT_SAPLRSAP_001'
          EXPORTING
            i_datasource             = i_datasource
            i_isource                = ''
            i_updmode                = ''
          TABLES
            i_t_select               = l_t_select
            i_t_fields               = l_t_fields
            c_t_data                 = <e_t_data>
          EXCEPTIONS
            rsap_customer_exit_error = 1
            OTHERS                   = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CALL FUNCTION 'RSC1_TRFC_QUEUE_WRITE'
          EXPORTING
            i_isource     = i_datasource
            i_no_flush    = 'X'
          IMPORTING
            e_subrc       = l_subrc
          TABLES
            i_t_data      = <e_t_data>
          EXCEPTIONS
            name_too_long = 1
            OTHERS        = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDFUNCTION.
          FORM abs_type_to_rel_type                                     *
          The purpose of this subroutine is to convert an absolute type *
          name into a relative type name.                               *
    -->  TYPE_NAME                                                     *
    form abs_type_to_rel_type changing type_name.
      data junk(100) type c.
      split type_name at '\TYPE=' into junk type_name.
    endform.
    "CREATE DATA lr_et_data TYPE STANDARD TABLE OF (l_exstruct)" makes an Error "Unable to interpret "TABLE"."
    I don't why!
    So anbody can help me?
    Thank you!

    Hi,
    Use this statement.
    data:begin of lr_et_data occurs 0,
    include l_exstruct.
    end of lr_et_data.
    Ravi

  • MERGE error : unable to get a stable set of rows in the source tables

    Hi,
    For an update, the following MERGE statement throws the error-unable to get a stable set of rows in the source tables:
    MERGE INTO table2t INT
    USING (SELECT DISTINCT NULL bdl_inst_id,.......
    FROM table1 ftp
    WHERE ftp.gld_business_date = g_business_date
    AND ftp.underlying_instrument_id IS NOT NULL) ui
    ON ( ( INT.inst_id = ui.inst_id
    AND g_business_date BETWEEN INT.valid_from_date
    AND INT.valid_to_date
    OR ( INT.ric = ui.ric
    AND g_business_date BETWEEN INT.valid_from_date
    AND INT.valid_to_date
    OR ( INT.isin = ui.isin
    AND g_business_date BETWEEN INT.valid_from_date
    AND INT.valid_to_date
    OR ( INT.sedol = ui.sedol
    AND g_business_date BETWEEN INT.valid_from_date
    AND INT.valid_to_date
    OR ( INT.cusip = ui.cusip
    AND g_business_date BETWEEN INT.valid_from_date
    AND INT.valid_to_date
    WHEN MATCHED THEN
    UPDATE
    SET INT.inst_id = ui.inst_id, INT.ric = ui.ric
    WHEN NOT MATCHED THEN
    INSERT (inst_key, ......)
    VALUES (inst_key, ......);
    To determine the existence of a record, first check if any match is found on the first key, if not then search for the second key and so on.
    Now two records with differenct first key, i.e. inst_id, can have the same ric(second key). On a rerun, with the target table already populated, the code fails. The reason is it finds duplicate entries for the second key.
    Any suggestions on how to make this work?
    Thanks in advance.
    Annie

    Annie
    You've spotted the problem (that two records have the same RIC). MERGE doesn't allow that; each record in the data being updated is only allowed to be updated once.
    Is there a PK column (or columns) that we can rely on?
    What you can try is to outer join FTP to INT. Something like:
    MERGE INTO INT int1
    USING (
        select columns_you_need
        from (
            select ftp.columns -- whatever they are
                   , int2.columns
                   , row_number() over (partition by int2.pk_columns order by int2.somecolumns) as rn
            from   ftp
            left join int int2
            on (the condition you used in your query)
        where rn=1
    ) s
    WHEN MATCHED THEN UPDATE ...
    WHEN NOT MATCHED THEN INSERT ...So if you can restrict the driving query so that only the first one of the possible updates actually gets presented to the MERGE operation, you might be in with a chance :-)
    And of course this error is nothing to do with any triggers.
    HTH
    Regards Nigel

  • ORA-30926: unable to get a stable set of rows in the source tables

    hi,
    I am loading data from source table to target table in a interface.
    Using LKM incremental update .
    In the merge rows step , getting the below error.
    30926 : 99999 : java.sql.SQLException: ORA-30926: unable to get a stable set of rows in the source tables
    please help as what should be done to resolve this.

    Below is the query in the merge step...
    when i run from SQL also, same error
    SQL Error: ORA-30926: unable to get a stable set of rows in the source tables
    30926. 00000 - "unable to get a stable set of rows in the source tables"
    *Cause:    A stable set of rows could not be got because of large dml
    activity or a non-deterministic where clause.
    *Action:   Remove any non-deterministic where clauses and reissue the dml.
    merge into     TFR.INVENTORIES T
    using     TFR.I$_INVENTORIES S
    on     (
              T.ORGANIZATION_ID=S.ORGANIZATION_ID
         and          T.ITEM_ID=S.ITEM_ID
    when matched
    then update set
         T.ITEM_TYPE     = S.ITEM_TYPE,
         T.SEGMENT1     = S.SEGMENT1,
         T.DESCRIPTION     = S.DESCRIPTION,
         T.LIST_PRICE_PER_UNIT     = S.LIST_PRICE_PER_UNIT,
         T.CREATED_BY     = S.CREATED_BY,
         T.DEFAULT_SO_SOURCE_TYPE     = S.DEFAULT_SO_SOURCE_TYPE,
         T.MATERIAL_BILLABLE_FLAG     = S.MATERIAL_BILLABLE_FLAG,
         T.LAST_UPDATED_BY     = S.LAST_UPDATED_BY
         ,T.ID     = TFR.INVENTORIES_SEQ.NEXTVAL,
         T.CREATION_DATE     = CURRENT_DATE,
         T.LAST_UPDATE_DATE     = CURRENT_DATE
    when not matched
    then insert
         T.ORGANIZATION_ID,
         T.ITEM_ID,
         T.ITEM_TYPE,
         T.SEGMENT1,
         T.DESCRIPTION,
         T.LIST_PRICE_PER_UNIT,
         T.CREATED_BY,
         T.DEFAULT_SO_SOURCE_TYPE,
         T.MATERIAL_BILLABLE_FLAG,
         T.LAST_UPDATED_BY
         ,T.ID,
         T.CREATION_DATE,
         T.LAST_UPDATE_DATE
    values
         S.ORGANIZATION_ID,
         S.ITEM_ID,
         S.ITEM_TYPE,
         S.SEGMENT1,
         S.DESCRIPTION,
         S.LIST_PRICE_PER_UNIT,
         S.CREATED_BY,
         S.DEFAULT_SO_SOURCE_TYPE,
         S.MATERIAL_BILLABLE_FLAG,
         S.LAST_UPDATED_BY
         ,TFR.INVENTORIES_SEQ.NEXTVAL,
         CURRENT_DATE,
         CURRENT_DATE
         )

  • ORA-30926: unable to get a stable set of rows in the source  table

    When user are trying to open a form getting below error.
    com.retek.platform.exception.RetekUnknownSystemException:ORA-30926: unable to get a stable set of rows in the source tables
    Please advice
    Edited by: user13382934 on Jul 9, 2011 1:32 PM

    Please try this
    create table UPDTE_DEFERRED_MAILING_RECORDS nologging as
    SELECT distinct a.CUST_ID,
    a.EMP_ID,
    a.PURCHASE_DATE,
    a.drank,
    c.CONTACT_CD,
    c.NEW_CUST_CD,
    a.DM_ROW_ID
    FROM (SELECT a.ROWID AS DM_ROW_ID,
    a.CUST_ID,
    a.EMP_ID,
    a.PURCHASE_DATE,
    dense_rank() over(PARTITION BY a.CUST_ID, a.EMP_ID ORDER
    BY a.PURCHASE_DATE DESC, a.ROWID) DRANK
    FROM deferred_mailing a) a,
    customer c
    WHERE a.CUST_ID = c.CUST_ID
    AND a.EMP_ID = c.EMP_ID
    AND (a.PURCHASE_DATE <= c.PURCHASE_DATE OR
    c.PURCHASE_DATE IS NULL)
    and a.drank=1;
    The query you've posted is behaving according to the expectations. The inner select is returning one row and the outer is returning two as the
    WHERE a.CUST_ID = c.CUST_ID
    AND a.EMP_ID = c.EMP_ID
    AND (a.PURCHASE_DATE <= c.PURCHASE_DATE OR
    c.PURCHASE_DATE IS NULL)
    conditions are seeing two rows in the table customer.
    I've added the a.drank=1 clause to skip the duplicates from the inner table and distinct in the final result to remove duplicates from the overall query result.
    For eg, if you have one more row in the deferred_mailing like this
    SQL> select * from DEFERRED_MAILING;
    CUST_ID EMP_ID PURCHASE_
    444 10 11-JAN-11
    444 10 11-JAN-11
    then the query without "a.drank=1" will return 4 rows like this by the outer query.
    CUST_ID EMP_ID PURCHASE_ DM_ROW_ID DRANK C N
    444 10 11-JAN-11 AAATi2AAGAAAACcAAB 2 Y Y
    444 10 11-JAN-11 AAATi2AAGAAAACcAAA 1 Y Y
    444 10 11-JAN-11 AAATi2AAGAAAACcAAB 2 Y Y
    444 10 11-JAN-11 AAATi2AAGAAAACcAAA 1 Y Y
    It'll return the below even if we use distinct on the same query(i.e. without a.drank=1)
    CUST_ID EMP_ID PURCHASE_ DM_ROW_ID DRANK C N
    444 10 11-JAN-11 AAATi2AAGAAAACcAAB 2 Y Y
    444 10 11-JAN-11 AAATi2AAGAAAACcAAA 1 Y Y
    which contains duplicates again.
    So, we need a combination of distinct and dense here.
    btw, Please mark the thread as 'answered', if you feel you got your question answered. This will save the time of others who search for open questions to answer.
    Regards,
    CSM

  • Ora-30926 : unable to get a stable set of rows in source table

    Dear All
    When I try to load my cube I get the error "ora-30926 : unable to get a stable set of rows in source table".
    Any idea? Googling for this error did not return any solutions.
    My env:
    source: Oracle 10g (10.2.x)
    Target: Oracle 11g (11.1.0.7)
    I am using warehouse builder 11.1.0.7 on Linux
    thank you

    Carsten / neashton
    Thanks for your help. Duplicate rows were the issue.
    I finally debugged the problem to my time dimension.
    The OWB wizard generated time dimension contains only date, but no time.
    Unfortunately, for me to uniquely identify my data, I need to include time also (detailed in how do I include 'Time' in a time dimension? .
    Since Carsten was the first one to answer this, I am awarding the points to him.
    thanks a lot both of you
    Edited by: T2 on Jun 2, 2009 4:01 AM

  • MERGE Statement - unable to get a stable set of rows in the source tables

    OWB Client: 10.1.0.2.0
    OWB Repository: 10.1.0.1.0
    I am trying to create a MERGE in OWB.
    I get the following error:
    ORA-12801: error signaled in parallel query server P004 ORA-30926: unable to get a stable set of rows in the source tables
    I have read the other posts regarding this and can't seem to get a fix.
    The target table has a unique index on the field that I am matching on.
    The "incoming" data doesn't have a unique index, but I have checked and confirmed that it is unique on the appropriate key.
    The "incoming" data is created by a join and filter in the mapping and I'd rather avoid having to load this data into a new table and add a unique index on this.
    Any help would be great.
    Thanks
    Laura

    Hello Laura,
    The MERGE statement does not require any constraints on its target table or source table. The only requirement is that two input rows cannot update the same target row, meaning that all existing target rows can be matched by at most one input row (otherwise the MERGE would be undeterministic since you don't know which of the input rows you would end up with in the target).
    If a table takes ages to load (and is not really big) I suspect that your mapping is not running in set mode and that it performs a full table scan on source data for each target row it produces.
    If you ARE running in set mode you should run explain plan to get a hint on what is wrong.
    Regarding your original mapping, try to set the target operator property:
    Match by constraint=no constraints
    and then check the Loading properties on each target column.
    Regards, Hans Henrik

  • When I try to use the internal hard drive as a scratch disk I get this error "unable to set scratch disk- the selected directory is on write protect or non-writable media.  Any ideas on how to fix this.  It only happens in fcp.

    When I try to use the internal hard drive as a scratch disk I get this error "unable to set scratch disk- the selected directory is on write protect or non-writable media.  Any ideas on how to fix this.  It only happens in fcp.

    By internal, I assume you're referring to your systems (boot) drive. Is it, by chance, a partitioned dive?
    Also…although many people successfully use their systems drives as scratch disks, over time you'll have better results using a dedicated drive for your media.
    Good luck.
    Russ

  • I am using apple configerator. I am unable to prepare or supervise 1 ipad. After preparing, I get an error that says "refresh completed but with an error, unable to verify supervision state" . I have erased all content and set up as a new ipad.

    I am using apple configerator. I am unable to prepare or supervise 1 ipad. After preparing, I get an error that says "refresh completed but with an error, unable to verify supervision state" . I have erased all content and set up as a new ipad and tried again with no success. Any help would be appreciated

    Hello jaybearden,
    Thanks for the question. After reviewing your post, it sounds like you are not able to restore the iOS device since you get an error 9. I would recommend that you read this article, it may be able to help the issue.
    Resolve iOS update and restore errors - Apple Support
    Check your security software
    Related errors: 2, 4, 6, 9, 1000, 1611, 9006. Sometimes security software can prevent your device from communicating with either the Apple update server or with your device.
    Check your security software and settings to make sure that they aren't preventing a connection to the Apple servers.
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Getting error Unable to perform transaction on the record.

    Hi,
    My requirement is to implement the custom attachment, and to store the data into custom lob table.
    my custom table structure is similer to that of standard fnd_lobs table and have inserted the data through EO based VO.
    Structure of custom table
    CREATE TABLE XXAPL.XXAPL_LOBS
    ATTACHMENT_ID NUMBER NOT NULL,
    FILE_NAME VARCHAR2(256 BYTE),
    FILE_CONTENT_TYPE VARCHAR2(256 BYTE) NOT NULL,
    FILE_DATA BLOB,
    UPLOAD_DATE DATE,
    EXPIRATION_DATE DATE,
    PROGRAM_NAME VARCHAR2(32 BYTE),
    PROGRAM_TAG VARCHAR2(32 BYTE),
    LANGUAGE VARCHAR2(4 BYTE) DEFAULT ( userenv ( 'LANG') ),
    ORACLE_CHARSET VARCHAR2(30 BYTE) DEFAULT ( substr ( userenv ( 'LANGUAGE') , instr ( userenv ( 'LANGUAGE') , '.') +1 ) ),
    FILE_FORMAT VARCHAR2(10 BYTE) NOT NULL
    i have created a simple messegefileupload and submit button on my custom page and written below code on CO:
    Process Request Code:
    if(!pageContext.isBackNavigationFired(false))
    TransactionUnitHelper.startTransactionUnit(pageContext, "AttachmentCreateTxn");
    if(!pageContext.isFormSubmission()){
    System.out.println("In ProcessRequest of AplAttachmentCO");
    am.invokeMethod("initAplAttachment");
    else
    if(!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "AttachmentCreateTxn", true))
    OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
    pageContext.redirectToDialogPage(dialogPage);
    ProcessFormRequest Code:
    if (pageContext.getParameter("Upload") != null)
    DataObject fileUploadData = (DataObject)pageContext.getNamedDataObject("FileItem");
    String strFileName = null;
    strFileName = pageContext.getParameter("FileItem");
    if(strFileName == null || "".equals(strFileName))
    throw new OAException("Please select a File for upload");
    fileName = strFileName;
    contentType = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
    BlobDomain uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
    String strItemDescr = pageContext.getParameter("ItemDesc");
    OAFormValueBean bean = (OAFormValueBean)webBean.findIndexedChildRecursive("AttachmentId");
    String strAttachId = (String)bean.getValue(pageContext);
    System.out.println("Attachment Id:" +strAttachId);
    int aInt = Integer.parseInt(strAttachId);
    Number numAttachId = new Number(aInt);
    Serializable[] methodParams = {fileName, contentType , uploadedByteStream , strItemDescr , numAttachId};
    Class[] methodParamTypes = {fileName.getClass(), contentType.getClass() , uploadedByteStream.getClass() , strItemDescr.getClass() , numAttachId.getClass()};
    am.invokeMethod("setUploadFileRowData", methodParams, methodParamTypes);
    am.invokeMethod("apply");
    System.out.println("Records committed in lobs table");
    if (pageContext.getParameter("AddAnother") != null)
    pageContext.forwardImmediatelyToCurrentPage(null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
    if (pageContext.getParameter("cancel") != null)
    am.invokeMethod("rollbackShipment");
    TransactionUnitHelper.endTransactionUnit(pageContext, "AttachmentCreateTxn");
    Code in AM:
    public void apply(){
    getTransaction().commit();
    public void initAplAttachment() {
    OAViewObject lobsvo = (OAViewObject)getAplLobsAttachVO1();
    if (!lobsvo.isPreparedForExecution())
    lobsvo.executeQuery();
    Row row = lobsvo.createRow();
    lobsvo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    public void setUploadFileRowData(String fName, String fContentType, BlobDomain fileData , String fItemDescr , Number fAttachId)
    AplLobsAttachVOImpl VOImpl = (AplLobsAttachVOImpl)getAplLobsAttachVO1();
    System.out.println("In setUploadFileRowData method");
    System.out.println("In setUploadFileRowData method fAttachId: "+fAttachId);
    System.out.println("In setUploadFileRowData method fName: "+fName);
    System.out.println("In setUploadFileRowData method fContentType: "+fContentType);
    RowSetIterator rowIter = VOImpl.createRowSetIterator("rowIter");
    while (rowIter.hasNext())
    AplLobsAttachVORowImpl viewRow = (AplLobsAttachVORowImpl)rowIter.next();
    viewRow.setFileContentType(fContentType);
    viewRow.setFileData(fileData);
    viewRow.setFileFormat("IGNORE");
    viewRow.setFileName(fName);
    rowIter.closeRowSetIterator();
    System.out.println("setting on fndlobs done");
    The attchemnt id is the sequence generated number, and its defaulting logic is written in EO
    public void create(AttributeList attributeList) {
    super.create(attributeList);
    OADBTransaction transaction = getOADBTransaction();
    Number attachmentId = transaction.getSequenceValue("xxapl_po_ship_attch_s");
    setAttachmentId(attachmentId);
    public void setAttachmentId(Number value) {
    System.out.println("In ShipmentsEOImpl value::"+value);
    if (getAttachmentId() != null)
    System.out.println("In AplLobsAttachEOImpl AttachmentId::"+(Number)getAttachmentId());
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "AttachmentId", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_NO_UPDATE"); // Message name
    if (value != null)
    // Attachment ID must be unique. To verify this, you must check both the
    // entity cache and the database. In this case, it's appropriate
    // to use findByPrimaryKey() because you're unlikely to get a match, and
    // and are therefore unlikely to pull a bunch of large objects into memory.
    // Note that findByPrimaryKey() is guaranteed to check all AplLobsAttachment.
    // First it checks the entity cache, then it checks the database.
    OADBTransaction transaction = getOADBTransaction();
    Object[] attachmentKey = {value};
    EntityDefImpl attachDefinition = AplLobsAttachEOImpl.getDefinitionObject();
    AplLobsAttachEOImpl attachment =
    (AplLobsAttachEOImpl)attachDefinition.findByPrimaryKey(transaction, new Key(attachmentKey));
    if (attachment != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "AttachmentId", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
    setAttributeInternal(ATTACHMENTID, value);
    Issue faced:
    When i run the page for the first time data gets inserted into custom table perfectly on clicking upload button,
    but when clicked on add another button on the same page (which basically redirects to the same upload page and increments the attachment id by 1)
    i am getting the below error:
    Error
    Unable to perform transaction on the record.
    Cause: The record contains stale data. The record has been modified by another user.
    Action: Cancel the transaction and re-query the record to get the new data.
    Have spent entire day to resolve this issue but no luck.
    Any help on this will be appreciated, let me know if i am going wrong anywhere.
    Thanks nd Regards
    Avinash

    Hi,
    After, inserting the values please re-execute the VO query.
    Also, try to redirect the page with no AM retension
    Thanks,
    Gaurav

  • I am getting the error "Unable to connect to data warehouse management server" when I try to register it DWMS

    I have a Data Warehouse Server that appears to be functioning but is running System Center Service Manager 2010 (w/ out SP1), Also have a functioning Configuration Management Server with Reporting Services Point installed the is running System Center
    2012. Both systems are VM's running Windows Server 2008 R2 Enterprise w/ SP1 fully patched. Both systems are running SQL Server 2008 R2 as well. When I try to register the Data Warehouse Server via the GUI using the console or in Powershell it errors
    out. Particularly on the GUI with the error "Unable to connect to data warehouse management server". I can browse to it, ping it, get the configuration management reports to run and show my AD assets, etc... but it will not register the DWS. I have
    tried every suggestion TechNet has to offer and I am hitting a wall. Can someone please, please, please help!?!

    unplug modem and router and reboot.
    check setting for network, verify password.
    sign in.  Enter computer information.
    let me know if this works.

  • Why am I getting an error "Unable to establish a secure connection with (mail server)"? And what can I do?

    I'm trying to set up email on my Firefox OS Flame (OS is Boot2Gecko 2.0.0.0-prerelease) and getting an error:
    Unable to establish a secure connection with mail.velociraptor.info
    I'm on Dreamhost, the certificate belongs to `*.dreamhost.com` but I'm not even sure this is a certificate error, and if it is, how I'd go about fixing it. I found the Certificate Manger, but I don't know how to download the certificate and add it, and I don't know if this is even the problem.

    If this is a self-signed certificate or one where the CA is not trusted on FFOS, you will get this error.
    There is currently no proper user interface for adding certificates. You could have a look at the method described at this page: http://www.pending.io/add-cacert-root-certificate-to-firefox-os/
    There are also several bugs open regarding this problem, e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=874346. They have additional information that could help you to find out, if this is the problem you are seeing.

  • I get this message when i start the computer :" error : unable to start the bluetooth stack service"

    i get this message when i start the computer :" error : unable to start the bluetooth stack service"

    If a power cycle of the TC works then the issue is simply Lion.. and there is as yet no fix.. and may never be..
    Apple do not seem to acknowledge the issue but plenty of people have it.. It doesn't happen with SL.. one very good reason to not bother with Lion.. Maybe ML will fix it.. without Apple having to ever admit an issue.
    In the meantime, if possible downgrade TC to 7.5.2 .. it has less issues than 7.6 or later.
    Reset the TC and change all names, TC and wireless names, to short, no spaces, no special characters.
    If it is the main router, set the dhcp lease to a short time.. 10min I recommend.
    The above will probably not fix the issue.. but it might go a bit longer before a reboot is needed.. going back to SL would fix it.

Maybe you are looking for