My Oracle Support Banner

Upgrade and Schema Migration Fails From P6 EPPM to PPM (Doc ID 2278108.1)

Last updated on DECEMBER 03, 2019

Applies to:

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

Symptoms

During an upgrade and/or migration from PPM --> EPPM OR from EPPM --> PPM, many different errors can potentially occur as a result of using the wrong process to accomplish the upgrade/migration.  The following error is an example of such an error.

[INFO] <TIMESTAMP> ALTER TABLE ACTVTYPE
 ADD CONSTRAINT FK_ACTVTYPE_PROJECT FOREIGN KEY (PROJ_ID)
 REFERENCES PROJECT (PROJ_ID)
[ERROR] <TIMESTAMP> ORA-02298: cannot validate (ADMUSER.FK_ACTVTYPE_PROJECT) - parent keys not found

[ERROR] <TIMESTAMP> Database Error: error number=2298
[ERROR] <TIMESTAMP> Error Message: ORA-02298: cannot validate (ADMUSER.FK_ACTVTYPE_PROJECT) - parent keys not found

[WARN] <TIMESTAMP> [USER] Could not complete because the job "Run SQL Script orpm_admuser.sql" failed.
com.primavera.database.tools.DatabaseToolException: ORA-02298: cannot validate (ADMUSER.FK_ACTVTYPE_PROJECT) - parent keys not found

at com.primavera.database.tools.ScriptRunner.ScriptRunner.runSQL(ScriptRunner.java:209)
at com.primavera.database.tools.ScriptRunner.ScriptRunner.run(ScriptRunner.java:145)
at com.primavera.database.tools.dbmt.workflow.SqlScriptJob.doJob(SqlScriptJob.java:86)
at com.primavera.database.tools.dbmt.AbstractJob.execute(AbstractJob.java:67)
at com.primavera.database.tools.dbmt.WorkflowStepJob.doJob(WorkflowStepJob.java:49)
at com.primavera.database.tools.dbmt.AbstractJob.execute(AbstractJob.java:67)
at com.primavera.database.tools.dbmt.actions.BaseWizardRunner.runJob(BaseWizardRunner.java:206)
at com.primavera.database.tools.dbmt.actions.BaseWizardRunner.commit(BaseWizardRunner.java:215)
at com.primavera.database.tools.dbmt.actions.JobTreeTypeDef$JobRunner.run(JobTreeTypeDef.java:253)
at java.lang.Thread.run(Thread.java:745)

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.