Error 'ORA-02429: Cannot drop index used for enforcement of unique/primary key' While Upgrading the P6 Database
(Doc ID 2309960.1)
Last updated on FEBRUARY 25, 2019
Applies to:Primavera P6 Enterprise Project Portfolio Management - Version 184.108.40.206 and later
Primavera P6 Professional Project Management - Version 220.127.116.11 and later
Information in this document applies to any platform.
When attempting to upgrade the P6 database using the dbsetup.bat (.sh) tool, the following error occurs and the upgrade fails.
Error in Run SQL Script ORPM_p835.sql: DatabaseToolException (ORA-02429: cannot drop index used for enforcement of unique/primary key)
In addition, the following error is logged in the DatabaseSetup.log file for the dbsetup process:
EXECUTE IMMEDIATE 'DROP INDEX NDX_PROJECT_ORIG_DELETE';
[ERROR] ORA-02429: cannot drop index used for enforcement of unique/primary key
[WARN] [USER] Could not complete because the job "Run SQL Script ORPM_p835.sql" failed.
The issue can be reproduced at will with the following steps:
- Launch dbsetup.bat / .sh.
- Enter the database connection information and begin the upgrade process.
- The upgrade process fails with the reported error.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!