Event Code PRMDB-0652-E or PRMDB-1480-A When Importing XER

(Doc ID 2112745.1)

Last updated on JULY 24, 2017

Applies to:

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

Symptoms

Attempting to import an XER file fails, and the following error displays:

Event Code:    PRMDB-0652-E
Message:      
 PRM DBAccess Error: SQL State: 1, SQL Error Code: 3621, Level: 0, Procedure: , Line: 2
 The statement has been terminated.
 SQL State: 14, SQL Error Code: 8152, Level: 16, Procedure: , Line: 2
 String or binary data would be truncated.
 SQL State: 1, SQL Error Code: 3621, Level: 0, Procedure: , Line: 1
 The statement has been terminated.
 SQL State: 14, SQL Error Code: 8152, Level: 16, Procedure: , Line: 1
 String or binary data would be truncated.

OR

Event Code:    PRMDB-1480-A
Message:      
 PRM DBAccess Error: SQL State: 1, SQL Error Code: 3621,
 Level: 0, Procedure: , Line: 50
 The statement has been terminated.
 SQL State: 1, SQL Error Code: 547, Level: 16, Procedure: , Line: 50
 The INSERT statement conflicted with the FOREIGN KEY constraint "fk_udfvalue_udftype". The conflict occurred in database "PMDB", table "dbo.UDFTYPE", column 'udf_type_id'.
 SQL State: 1, SQL Error Code: 3621, Level: 0, Procedure: , Line: 49
 The statement has been terminated.
 SQL State: 1, SQL Error Code: 547, Level: 16, Procedure: , Line: 49
 The INSERT statement conflicted with the FOREIGN KEY
 constraint "fk_udfvalue_udftype". The conflict occurred in database "PMDB", table "dbo.UDFTYPE", column 'udf_type_id'.
 SQL State: 1, SQL Error Code: 3621, Level: 0, Procedure: , Line: 48
 The statement has been terminated.
 SQL State: 1, SQL Error Code: 547, Level: 16, Procedure: , Line: 48
 The INSERT statement conflicted with the FOREIGN KEY constraint "fk_udfvalue_udftype". The conflict occurred in database "PMDB", table "dbo.UDFTYPE", column 'udf_type_id'.

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

  1. Launch the P6 client application and login.
  2. Select File > Import from the menu.
  3. Go through the import steps, selecting the XER when prompted.
  4. Import fails and error displays.

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