XER Import Failed With Error: "PRMDB-0607-9: The INSERT statement conflicted with the FOREIGN KEY constraint "fk_taskpred_task". The conflict occurred in database "PMDB", table "dbo.TASK", column 'task_id'"

(Doc ID 2414801.1)

Last updated on JULY 02, 2018

Applies to:

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

Symptoms

XER import failed with the following error:

ERROR
-----------------------
PRMDB-0607-9
Exception EprmDBSQLExecutionFailure in module PM.exe at 00000000006F47EC.
PRM DBAccess Error: SQL State: 1, SQL Error Code: 3621, Level: 0, Procedure: , Line: 1
The statement has been terminated.
SQL State: 1, SQL Error Code: 547, Level: 16, Procedure: , Line: 1
The INSERT statement conflicted with the FOREIGN KEY constraint "fk_taskpred_task". The conflict occurred in database "PMDB", table "dbo.TASK", column 'task_id'.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

  1. Login to P6 Professional Client
  2. Import XER

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