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 OCTOBER 02, 2017

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 8.1.0.0 and later
Primavera P6 Professional Project Management - Version 8.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to upgrade the P6 database using the dbsetup.bat / .sh tool, the following error occurs.

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:
1. Launch dbsetup.bat / .sh.
2. Supply database connection information and begin the upgrade process.
3. Process fails with the reported error.

Due to this issue, the P6 database cannot be upgraded.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms