My Oracle Support Banner

Receive Error "Failed.System.Data.SqlClient.SqlException" When Importing a Primavera P6 XML File (Doc ID 3002703.1)

Last updated on MARCH 07, 2024

Applies to:

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

Symptoms

Receive this error: Failed.System.Data.SqlClient.SqlException when importing a Primavera P6 XML file.

ERROR
-----------------------
Import Failed.System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "fk_task_rsrc". The conflict occurred in database "xxxx", table "dbo.RSRC", column 'rsrc_id'. The statement has been terminated.

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

  1. Login P6 Client.
  2. Go to File-->Import, try to import xml file, fail with error above.

 

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.