ORA-00001 during import

Hai all,
8i on windows server 2000
am importing a dump file like follows :
imp userid=system/manager file=dumpfile.dmp log=dumplog.log full=Y ignore=Y constraints=N
I've explicility set ignore=Y and constraints=N but still, import logs shows many error like below :
IMP-00019: row rejected due to ORACLE error 1
IMP-00003: ORACLE error 1 encountered
ORA-00001: unique constraint (SYS.TBT_IDX) violated
Kai

Thanks Robert,
Column 1 IN_A_MEADER
Column 2
Column 3 DBO
Column 4 -10
Column 5 400
Column 6 N
Column 7 N
Column 8 178
Column 9 2
Column 10 Arabic Transparent
Column 11 -10
Column 12 400
Column 13 N
Column 14 N
Column 15 0
Column 16 34
Column 17 Arial
Column 18 -10
Column 19 400
Column 20 N
Column 21 N
Column 22 178
Column 23 2
Column 24 Arabic Transparent
Column 25
IMP-00019: row rejected due to ORACLE error 1
IMP-00003: ORACLE error 1 encountered
ORA-00001: unique constraint (SYS.PBT_IDX) violated
select * from dba_constraints where constraint_name = 'PBT_IDX'; returns
not rows selected
Thanks
Edited by: KaiS on Dec 16, 2009 8:09 AM
Edited by: KaiS on Dec 16, 2009 8:27 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Errors ORA-39002,ORA-39070, ORA-29283, ORA-06512, ORA-29283 during import

    Hi all,
    I am getting errors during import to 10g database using impdp command.
    D:\>impdp nisa_lt/abc123@objtel1 directory=dtpump dumpfile=20120208_expobj.dmp full=y logfile=dbblog.log
    Import: Release 10.2.0.1.0 - Production on Monday, 13 February, 2012 17:16:05
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 488
    ORA-29283: invalid file operation
    dmpfile history:
    Starting "NISA_LT"."SYS_EXPORT_SCHEMA_01": nisa_lt/********@OBJ schemas=nisa_lt directory=dtpump dumpfile=20120208_expobj.dmp logfile=20120208_expobj.log
    Master table "NISA_LT"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for NISA_LT.SYS_EXPORT_SCHEMA_01 is:
    /oradb/OBJ/oraarch/20120208_expobj.dmp
    Job "NISA_LT"."SYS_EXPORT_SCHEMA_01" successfully completed at 15:04:36
    and the dump file was done ftp with bin mode set.
    It'll be really helpful if some one can guide me on this.

    Hi all,
    I was trying to import into a database which i have only the details, but i have no access to db machine, which i think was the problem.
    dmp file easily got imported to database present in the systems which i had access.
    Following are my conclusions based on the experiments, correct me if I'm wrong:
    1. Basically these are errors when db system cant read/write/access the directory structure pointed by directory in database.
    2. This can be achieved by mounting the directory in which dmp is present to the system where database is present.
    2. We cannot import using impdp just by having tns details of the db, we need to have access to db system.
    Thanks
    Avi :)

  • BW 7.0: several ORA-01408 during import

    Hi,
    I'm copying my BW system with export/import procedure from prd to dev. During import, and I think only on fact-tables, there are several ORA-01408 such as:
    DbSl Trace: Error 1408 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-1408 occurred when executing SQL stmt (parse error offset=57)
    (DB) ERROR: DDL statement failed
    (CREATE  INDEX "/BIC/EAV_FAORDT~P" ON "/BIC/EAV_FAORDT" ( "KEY_AV_FAORDTP" , "KEY_AV_FAORDTT" , "KEY_AV_FAORDTU" , "KEY_AV_FAORDT1" , "KEY_AV_FAORDT2" , "KEY_AV_FAORDT3" , "KEY_AV_FAORDT4" , "KEY_AV_FAORDT5" , "KEY_AV_FAORDT6" , "KEY_AV_FAORDT7" , "KEY_AV_FAORDT8"  ) TABLESPACE PSAPNBDFACT STORAGE (INITIAL 188743680 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS )
    DbSlExecute: rc = 99
      (SQL error 1408)
      error message returned by DbSl:
    ORA-01408: such column list already indexed
    (DB) INFO: disconnected from DB
    Note 885441 describe to igonere this indexes error... is it ok for me?
    Source system has got:
    SAP_ABA     700     0018     SAPKA70018
    SAP_BASIS     700     0018     SAPKB70018
    PI_BASIS     2006_1_700     0008     SAPKIPYM08
    ST-PI     2008_1_700     0000     -
    SAP_BW     700     0020     SAPKW70020
    FINBASIS     600     0015     SAPK-60015INFINBASIS
    SEM-BW     600     0015     SAPKGS6015
    BI_CONT     703     0012     SAPKIBIIQ2
    ST-A/PI     01L_BCO700     0000     -
    So... it should enough updated to exclude note 925309.
    Regards.
    Thankyou....

    Also several ORA-01452... have you got any idea?
    (DB) ERROR: DDL statement failed
    (CREATE UNIQUE INDEX "/BIC/FACC_PCO1~0" ON "/BIC/FACC_PCO1" ( "KEY_ACC_PCO1P", "KEY_ACC_PCO1T", "KEY_ACC_PCO1U", "KEY_ACC_PCO11", "KEY_ACC_PCO12", "KEY_ACC_PCO13", "KEY_ACC_PCO17" ) TABLESPACE PSAPNBDFACT STORAGE (INITIAL 65536 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS )
    DbSlExecute: rc = 99
      (SQL error 1452)
      error message returned by DbSl:
    ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
    (DB) INFO: disconnected from DB

  • Ora-04021 during import

    Hi Guys,
    I am doing an import during which i got this error .
    IMP-00017: following statement failed with ORACLE error 4021:
    "GRANT EXECUTE ON "VCP_PMC_PKG" TO "HERNANDEZO""
    IMP-00003: ORACLE error 4021 encountered
    ORA-04021: timeout occurred while waiting to lock object NCC.VCP_PMC_PKG.
    SQL> SELECT * FROM v$access WHERE object = 'VCP_PMC_PKG';
    SID OWNER
    OBJECT
    TYPE
    174 NCC
    VCP_PMC_PKG
    PACKAGE
    SQL> select oracle_username, os_user_name,locked_mode,object_name,object_type
    from v$locked_object a, dba_objects b
    where a.object_id=b.object_id;
    2 3
    no rows selected.
    how to get rid of this error?
    Thanks in advance.

    Hi, what happen if you try of execute the next statement in the directly from SQL*Plus to the database.
    GRANT EXECUTE ON "VCP_PMC_PKG" TO "HERNANDEZO"
    Are you get the same error??
    Regards
    Luck
    Have a good day.

  • ORA-39779 during import of types

    Hi ,
    I have executed an export with the following parameters:
    DIRECTORY=DATAPUMP_DIR
    DUMPFILE=exportdp_FULL_%U.dmp
    LOGFILE=exportdp_FULL.log
    FLASHBACK_SCN=6070655498233
    FULL=yes
    CONTENT=ALL
    FILESIZE=2G
    PARALLEL=2
    The source database is of release 10.2.0.4.0 and installed on a HP-UX (HP-UX 11.23) environment.
    The target database is of release 10.2.0.5.0 and installed on Red Hat Linux (Red Hat Enterprise Linux Server release 5.8 ) environment.
    The parameterfile for the import has the following parameters:
    DUMPFILE=exportdp_FULL_%U.dmp
    LOGFILE=importdp_FULL.log
    SCHEMAS=schema_a, schema_b, schema_c, schema_d
    REMAP_TABLESPACE=DEFAULTUSER:DEFAULT_USER
    PARALLEL=4
    METRICS=yes
    During the import the following errors get raised:
    ORA-31693: Table data object "SCHEMA_A"."TEST" failed to load/unload and is being skipped due to error:
    ORA-02354: error in exporting/importing data
    ORA-39779: type "SCHEMA_A"."OT_TEST" not found or conversion to latest version is not possible
    Going through MOS and several forums none of the offered solutions (e.g. TRANSFORM=oid:n) solved this issue.
    Currently I really don't have idea how to solve this issue - it's not clear to me what causes the problem. Running the query
    SELECT o.oid$
    , t.hashcode
    , o.name
    FROM sys.obj$ o
    , sys.user$ u
    , sys.type$ t
    WHERE o.owner# = u.user#
    AND o.oid$ = t.toid
    AND o.name = 'OT_TEST';
    gives different results on source- and target-database (oid and hashcode do both differ).
    Any help will truly appreciated.
    Rgds
    Jan

    Hi ,
    expdp command:
    expdp sys_admin parfile=exportdp_FULL.param;
    first 15 lines of exportdp_FULL.log:
    Export: Release 10.2.0.4.0 - 64bit Production on Mittwoch, 06 Februar, 2013 7:35:52
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "SYS_ADMIN"."SYS_EXPORT_FULL_01": sys_admin/******** parfile=exportdp_FULL.param
    Estimate in progress using BLOCKS method...
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 199.2 GB
    Processing object type DATABASE_EXPORT/TABLESPACE
    Processing object type DATABASE_EXPORT/PROFILE
    Processing object type DATABASE_EXPORT/SYS_USER/USER
    Processing object type DATABASE_EXPORT/SCHEMA/USER
    Processing object type DATABASE_EXPORT/ROLE
    Processing object type DATABASE_EXPORT/GRANT/SYSTEM_GRANT/PROC_SYSTEM_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/GRANT/SYSTEM_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/ROLE_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/DEFAULT_ROLE
    Processing object type DATABASE_EXPORT/SCHEMA/TABLESPACE_QUOTA
    impdp command:
    impdp sys_admin parfile=importdp_FULL.param;
    first 15 lines of importdp_FULL.log:
    Import: Release 10.2.0.5.0 - 64bit Production on Thursday, 07 February, 2013 12:53:58
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    Master table "SYS_ADMIN"."SYS_IMPORT_SCHEMA_02" successfully loaded/unloaded
    Starting "SYS_ADMIN"."SYS_IMPORT_SCHEMA_02": sys_admin/******** parfile=importdp_FULL.param
    Processing object type DATABASE_EXPORT/SCHEMA/USER
    Failing sql is:
    CREATE USER "SCHEMA_A" IDENTIFIED BY VALUES 'A3E66F1F8E9EFE4E' DEFAULT TABLESPACE "DATA" TEMPORARY TABLESPACE "TEMP" PROFILE "SCHEMA_OWNER"
    ORA-31684: Object type USER:"SCHEMA_A" already exists
    ORA-31684: Object type USER:"SCHEMA_B" already exists
    ORA-39083: Object type USER failed to create with error:
    ORA-02380: profile TECHNICAL_USER does not exist
    The errors of the import are due to the fact that I have created all users before...
    Rgds
    Jan

  • ORA-39083 during import

    Hi,
    I did a datapump export from a 10.2.0.3 db and did an import to another 10.2.0.3 db but got the following error;
    ORA-39083: Object type INDEX_STATISTICS failed to create with error:
    ORA-01403: no data found
    ORA-01403: no data found
    Failing sql is:
    DECLARE IND_NAME VARCHAR2(60); IND_OWNER VARCHAR2(60); BEGIN DELETE FROM "SYS"."IMPDP_STATS"; SELECT index_name
    NTO IND_NAME, IND_OWNER
    FROM (SELECT UNIQUE sgc1.index_name, sgc1.index_owner,
    COUNT(*) mycount
    FROM sys.ku$_find_sgc_view sgc1,
    TABLE (sgc1.col_list) myc
    ORA-39083: Object type INDEX_STATISTICS failed to create with error:
    I had SKIP_UNUSABLE_INDEXES=y. Can anyone please advise. Thanks

    Is it possible ALL your indexes (which should be part of this datapump export) are unusable? The import tries to create index_statistics, but has no data for it.
    Werner

  • Getting ora-01756 during IMPORT of (packaged) application

    Hi experts,
    I am trying to install one of the packaged apps from otn into my APEX 3.1 on XE under WinXP and get the following error.
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of statement was unsuccessful. ORA-01756: ...
    Error installing application.
    Same thing happens when IMPORING an app into the same Workspace from which I have EXPORTED it.
    It installs properly on apex.oracle.com!!
    Possibly it has to do with NLS SETTINGS for Switzerland?
    Grand separator in numerical characters could be '
    Any ideas, anyone with the same problems?
    Thanks in front,
    Lutz
    Edited by: [email protected] on Dec 11, 2008 7:59 PM
    Edited by: [email protected] on Dec 11, 2008 8:16 PM
    Edited by: [email protected] on Dec 11, 2008 8:26 PM

    I have found a workaround:
    instead of using a Swiss OS I installed a German version of WIN XP
    now everything works fine.
    I guess it has to do with a ' which is missing somewhere in the code.
    With Swiss locale ' is used as a grand separator which might cause the ORA-01756 thrown by the installer.
    BR,
    Lutz
    =;-)

  • ORA-00001: unique constraint during "Configure Database Security Store for OIM Domain"

    Hi Guru's,
    I am following the below steps for OIM 11.1.2.1 with SOA 11.1.1.7 Installation and facing below error during step "Configure Database Security Store for OIM Domain".
    Installed Database 11.2.0.3
    Installed RCU (Here I used two versions.
         RCU 11.1.2   - Used IDAM prefix for (Metadata Services, OPSS, OIM)
         RCU 11.1.1.7 - Used SOA prefix for(Metadata Services,SOA Infrastructure, User Messaging service)
    Installed JDK 7 (Java 1.7)
    Installed WL 10.3.6 (MW_HOME-/u01/Middleware/fmw, WL_HOME=/u01/Middleware/fmw/wlserver_10.3)
    Installed FMW 11.1.2.1 for OIM. (ORACLE_HOME=Oracle_IDM1)
    Installed FMW 11.1.1.7 for SOA (ORACLE_HOME=Oracle_SOA1)
    WL Domain creation.  (Domain Name – idam_domain1)
    Configure Database Security Store for OIM Domain.
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (IDAM_OPSS.IDX_JPS_RDN_PDN) violated
    Also followed the below bug solution, but issue still occurs.
    Bug 16690836 : CONFIGURE DATABASE SECURITY STORE (CONFIGURESECURITYSTORE.PY) SCRIPT IS FAILING
    @ 1. Delete the Schemas using RCU.
    @ 2. Recreate the OAM schemas.
    @ 3. Reinstall the WLS and OAM software.
    @ 4. Run config.sh to create a new domain.
    @ 5. Run setDomainEnv.sh from user_projects/domains/<Domain_name>/bin
    @ 6. Run the configureSecurityStore.py from same window.
    Not sure if anyone tried with different steps that fixed the issue? Could you please help.
    Thanks
    VG

    Hi Gurus, I got the solution from Oracle. SOA 11.1.1.7.0 shouldn't be used with Identity Management 11.1.2.1.0(11GR1-PS1) version. Identity Management 11.1.2.1.0(11GR1-PS1) is bundled with SOA 11.1.1.6.0. When used this SOA version, Installation went smooth. Thanks VG

  • Ora-1555 during exports and imports. possible causes. ?

    From my understanding : I know that this error will occur due to a undo retention being smaller sizer. or rather I should put it that increasing this parameter should help fix the issue.
    Whats not clear is below :
    Qn. Is it possible that ORA-1555 errors can occur during 'import' even if no other sessions are connected and performing any transaction/dmls ?
    Qn. Also why does a ORA-1555 occur during a 'export' ? Is the same reasons ie. there could be possible DMLs occuring ?

    Hello,
    About your first question:
    Qn. Is it possible that ORA-1555 errors can occur during 'import' even if no other sessions are connected and performing any transaction/dmls ?I've never got this error during import but, I always care to get enough place on the UNDO Tablespace.
    With classical import you have a commit after each Table's import (by default) and a commit after each row's import if COMMIT=Y so as to use less space in the Rollback Segment.
    With Datapump, I often decrease the undo_retention parameter before importing so as to use less space on the UNDO Tablespace.
    About the second question:
    Qn. Also why does a ORA-1555 occur during a 'export' ? Is the same reasons ie. there could be possible DMLs occuring ?To get a consistent image of the exported data with the classical export you may use the parameter CONSISTENT=Y. While you may use the FLASHBACK_TIME parameter with Datapump (so it means that the undo_retention should be large enough when exporting).
    Both use the Undo entries, so I imagine that's possible to get some error (may be ORA-01555) if you don't have enough place on your UNDO Tablespace.
    It's possible (thank to the Rollback Segments) to have concurrent DML on the database while exporting.
    Anyway, from my point of view, while exporting or importing if you have enough space on your UNDO tablespace and a correct undo_retention setting (not too large when importing not too small when exporting) it should be fine.
    Hope this help.
    Best regards,
    Jean-Valentin

  • RMAN backup fails atlast during resync catalog with ORA-00001

    Hi Everyone,
    Database version:10.2.0.2.0
    single instance database
    My Rman backups were running fine but today i got the error , almost at the end of backup
    Finished Control File and SPFILE Autobackup
    released channel: t1
    released channel: t2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03008: error while performing automatic resync of recovery catalog
    ORA-00001: unique constraint (RMAN.CKP_P) violated
    Recovery Manager complete.
    This problem occured 2 days before.I connected to catalog and ran a resync catalog and the backup worked fine for next day.
    Now again today iam experiencing the same problem.
    Any help would be great

    Thanks for the reply
    SQL> select * from rman.rcver;
    VERSION
    10.02.00.00
    10.02.00.02
    when i do the resync catalog manually it works fine.only during the end of backup it throws me the error;
    was wondering whether can i disable the primary key constraint on CKP table so that i can avoid the error.
    since its a live system im thinking lot before i do anything
    Thanks
    Edited by: centerB on 14-Apr-2011 06:40
    Edited by: centerB on 14-Apr-2011 06:57
    Edited by: centerB on 14-Apr-2011 07:03

  • Import error: ORA-00001:unique constraint (FLOWS_030100.WWV_FLOW_FLOW_PK)

    Hi community,
    I got an awful application import error.
    ORA-20001: GET_BLOCK Error. ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (FLOWS_030100.WWV_FLOW_FLOW_PK) violated &amp;lt;pre&amp;gt;--application/create_application &amp;amp;lt;br&amp;amp;gt; &amp;amp;lt;br&amp;amp;gt;begin &amp;amp;lt;br&amp;amp;gt; &amp;amp;lt;br&amp;amp;gt;wwv_flow_api.create_flow( &amp;amp;lt;br&amp;amp;gt; p_id =&amp;amp;gt; 381, &amp;amp;lt;br&amp;amp;gt; p_display_id=&amp;amp;gt; 381, &amp;amp;lt;br&amp;amp
    Error installing application.What did I do?
    Developed some in my test environment (APP ID 381) and made a normal export like 100 times before. When I tried to import that application in APP ID 380 the error occurred.
    More information:
    Both applications are in the same workspace.
    APEX 3.1.2
    Oracle XE
    I tried a bit around:
    Import in another workspace > same error
    Restart OAS try to import> same error
    Deletion of APP 380 and the try to import > same error
    Import of an older version > successfully no errors
    Try to make a new export of APP ID 381 > same error on import
    Don't want to delete app 381! :O
    Seems like something inside of the application/export is wrong.

    Hi Scott,
    the query returns
    select grantee from dba_role_privs where granted_role='APEX_ADMINISTRATOR_ROLE';
    GRANTEE
    SYSI tried to install the export in another apex database environment. New error occurred.
    ORA-20001: GET_BLOCK Error.
    ORA-20001: Execution of the statement was unsuccessful.
    ORA-02291: integrity constraint
    (FLOWS_030100.WWV_FLOW_SEC_SCHEMES_FK) violated - parent key not found &lt;pre&gt;begin
    --application/shared_components/security/authorization/t_users
    wwv_flow_api.create_security_scheme( p_id =&amp;gt; 18109134549712168 + wwv_flow_api.g_id_offset, p_flow_id =&amp;gt;
    wwv_flow.g_flow_id, p_name=&amp;gt;'T_USERS', p_scheme_type=&amp;gt;'EXISTS', p_scheme=&amp;gt;'select cI looked in the export file for the error part and found some interesting code. See:
    prompt  ...authorization schemes
    begin
    --application/shared_components/security/authorization/t_users
    wwv_flow_api.create_security_scheme(
      p_id => 18109134549712168 + wwv_flow_api.g_id_offset,
      p_flow_id => wwv_flow.g_flow_id,
      p_name=>'T_USERS',
      p_scheme_type=>'EXISTS',
      p_scheme=>'select count(*) from v_mze_appl '||chr(10)||
    'where NAME like UPPER(:P101_USERNAME)'||chr(10)||
    'and ROLE IN (''APEX_MZE_ADMIN'',''APEX_MZE_USERS'')'||chr(10)||
      p_caching=>'BY_USER_BY_PAGE_VIEW',
      p_error_message=>'Sie haben keine Berechtigungen für diese Seite');
    --application/shared_components/security/authorization/t_auswertung
    wwv_flow_api.create_security_scheme(
      p_id => 42071873141249964 + wwv_flow_api.g_id_offset,
      p_flow_id => wwv_flow.g_flow_id,
      p_name=>'T_AUSWERTUNG',
      p_scheme_type=>'EXISTS',
      p_scheme=>'select count(*) from v_mze_appl '||chr(10)||
    'where NAME like UPPER(:P101_USERNAME)'||chr(10)||
    'and ROLE IN (''APEX_MZE_ADMIN'',''APEX_MZE_REPORT'')'||chr(10)||
      p_caching=>'BY_USER_BY_PAGE_VIEW',
      p_error_message=>'No rights for the page');
    --application/shared_components/security/authorization/t_berechtigungen
    wwv_flow_api.create_security_scheme(
      p_id => 42072157819264447 + wwv_flow_api.g_id_offset,
      p_flow_id => wwv_flow.g_flow_id,
      p_name=>'T_BERECHTIGUNGEN',
      p_scheme_type=>'EXISTS',
      p_scheme=>'select count(*) from v_mze_appl '||chr(10)||
    'where NAME like UPPER(:P101_USERNAME)'||chr(10)||
    'and ROLE IN (''APEX_MZE_ADMIN'',''APEX_MZE_BERECHTIGUNGEN'')'||chr(10)||
      p_caching=>'BY_USER_BY_PAGE_VIEW',
      p_error_message=>'No rights for the page');
    --application/shared_components/security/authorization/t_kategorien
    wwv_flow_api.create_security_scheme(
      p_id => 42072262321265732 + wwv_flow_api.g_id_offset,
      p_flow_id => wwv_flow.g_flow_id,
      p_name=>'T_KATEGORIEN',
      p_scheme_type=>'EXISTS',
      p_scheme=>'select count(*) from v_mze_appl '||chr(10)||
    'where NAME like UPPER(:P101_USERNAME)'||chr(10)||
    'and ROLE IN (''APEX_MZE_ADMIN'',''APEX_MZE_KATEGORIEN'')',
      p_caching=>'BY_USER_BY_PAGE_VIEW',
      p_error_message=>'No rights for the page');
    end;
    /Looks like the p_id for T_USERS is wrong. Exactly what the error tries to describe too. How could that happen and how can I solve that issue? I will try and save the t_users group again and will create a new export.
    King regards,
    Tobias
    Edited by: Tobias Arnhold on Mar 2, 2009 8:23 AM

  • Error import 4.1.1 ORA-00001: unique constraint (FLOWS_030100.WWV_FLOW_FLOW

    In 4.1.0 and 4.1.1 (on APEX.ORACLE.COM also) when importing and installing an application, we have the following error :
    ORA-20001: GET_BLOCK Error. ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (FLOWS_030100.WWV_FLOW_FLOW_PK) violated
    This is the same error as in :
    Import error: ORA-00001:unique constraint (FLOWS_030100.WWV_FLOW_FLOW_PK)
    (opened a new thread because the other one is marked as answered)
    Solution :
    - Check the export file and check the wwv_flow_api.create_flow parameters. In our case we saw that p_vpd had a lot of text.
    So here is what we did :
    - Remove text from Security / Database Session / Initialization PL/SQL Code (VPD)
    - export application
    - import application
    - put text back in Security.
    (This VPD code will be implemented in a package so the problem should go away.)
    But this seems to be a problem with a parameter being too long in the wwv_flow_api.create_flow procedure.
    Francis.

    Hi
    I am getting same error while importing shared component file.
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (APEX_030200.WWV_FLOW_MENU_TEMP_IDX2) violated
    *&lt;pre&gt;begin begin*
    wwv_flow_api.create_menu_template ( p_id=&amp;gt; 94480251996632657 + wwv_flow_api.g_id_offset,
    p_flow_id=&amp;gt; wwv_flow.g_flow_id, p_name=&amp;gt;'Breadcrumb Menu', p_before_first=&amp;gt;'', p_current_page_option=&amp;gt;'&amp;lt;a href=&amp;quot;#LINK#&amp;quot; class=&amp;quot;t20Current&amp;quot;&amp;gt;#
    If this is because of long parameter then how to find which parameter is too long?

  • Issue during import

    Hi,
    I am trying to import a tbale from a dump which I have already taken backup.But during import I am getting the below error message:
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (LDDEV.ABHSET1) violated
    Please suggest me the required solution.
    Thanks

    if the table that you are importing was empty before you beginning you probably created or updated a unique constraints and that constraint is rejecting duplicated registers.
    If the table was not empty you must empty it.
    ref:-http://www.dbasupport.com/forums/archive/index.php/t-6823.html

  • Unable to open the export file during Import ABAP phase on tar(System copy)

    Hi Experts,
    We are encountering the following error during Import ABAP phase on target system as we are performing system copy on target system as part of hardware migration(Data center migration).
    Scenario:
    Sourrce system -  BI- ABAP(7.01), Win 2003 x64 unicode,Oracle 10.2.0.4
    Target system - BI-ABAP(7.01), Win 2008 R2 unicode, Oracle 11.2.0.1
    Actually on source system the data has been generated using migration monitor by using table splitting option and transferred on target system thru ftp option.
    During Import process while selecting the Database installation type we have selected the installation method as "Standard systemcopy/Migration(load based)" and not checked the option "Start Migration montior Manually".
    As far as my concern this error has nothing to do with this selection.please correct me If i am wrong.
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110428082000
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: version R7.01/V1.4 [UNICODE]
    Compiled Feb 24 2009 23:41:07
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe -dbcodepage 4103 -i test_MIGKEY.cmd -l test_MIGKEY.log -K
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (TFH) ERROR: Unable to open
    10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA\ARFCSDATA.TOC
    (TFH) ERROR: OS error message: Invalid argument
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20110428082003
    Kindly revert with resolutions and suggestions and any hint to the oss notes as we haven't found anything specific to this error.
    Regrds,
    Dheeraj

    \\10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA\ARFCSDATA.TOC
    Please check if above said file located under specified path where SAPINST searvhing for it ie at
    10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA. if this file dont exist them it may be the case that your export is not proper.
    Also check if user from which you have started this SAPINST is able to access
    10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA.
    Thanks..
    Mohit

  • ORA-00001 - unique constraint violation when upgrading 10g EUL

    Hi,
    I am trying to upgrade my Discoverer 4i to Discoverer 10g.
    When I log into 10g, it prompts me to upgrade the EUL. After making the right back up of my 4i EUL, I continue with the upgrade.
    During the upgrade, I am hit with this error:
    Database error: ORA-00001 unique constraint (EUL_HRMS.EUL5_FOL_UK_1) violated.
    I understand that this happens when user tries to insert an already existing value into a column defined as unique. However, I am not sure on how to resolve it.
    Can anyone please advice.
    Thanks in advance!
    Regards,
    Harpreet Sidhu

    Hi Rod,
    I've run the queries and these are the results. Each query returned one row.
    1. SELECT FROM EUL_HRMS.EUL5_DOC_FOLDERS*
    FOL_ID     100057
    FOL_NAME     ROOT
    FOL_DEVELOPER_KEY     ROOT
    FOL_DESCRIPTION     
    FOL_EU_ID     100000
    FOL_PARENT_ID     
    FOL_USER_PROP2     
    FOL_USER_PROP1     
    FOL_ELEMENT_STATE     0
    FOL_CREATED_BY     EUL_HRMS
    FOL_CREATED_DATE     19-Jun-09
    FOL_UPDATED_BY     EUL_HRMS
    FOL_UPDATED_DATE     19-Jun-09
    NOTM     0
    2. SELECT EU_ID, EU_SECURITY_MODEL, EU_USE_PUB_PRIVS, EU_ROLE_FLAG
    FROM EUL_HRMS.EUL5_EUL_USERS
    WHERE EU_USERNAME = 'PUBLIC'
    EU_ID     3000
    EU_SECURITY_MODEL     0
    EU_USE_PUB_PRIVS     1
    EU_ROLE_FLAG     0
    Thanks!

Maybe you are looking for