My Oracle Support Banner

"Error in Run SQL Script orpm_admuser.sql : DatabaseToolException (ORA-02298: cannot validate (ADMUSER.FK_ACTVTYPE_PROJECT) - parent keys not found)" When Attempting to Migrate a Database From SQL Server to Oracle (Doc ID 3068254.1)

Last updated on JANUARY 24, 2025

Applies to:

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

Symptoms

When attempting to migrate a SQL Server 2019 Database to Oracle 19c, the migration fails with the following error:

ERROR

Error in Run SQL Script orpm_admuser.sql : DatabaseToolException (ORA-02298: cannot validate (ADMUSER1.FK_ACTVTYPE_PROJECT) - parent keys not found).

STEPS TO REPRODUCE

1.  Run migrate.bat / .sh to migrate the database from SQL Server to Oracle Database.

2.  Observe the migration fails on step "Create remaining database objects" with the reported error.

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!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.