Error: "Error in run SQL script SSPPM_p82.sql DatabaseToolException (Violation of PRIMARY KEY constraint 'pk_settings'. Cannot insert duplicate key in object 'dbo.SETTINGS'. The duplicate key value is (Administrator_Settings, OnlineHelpRootUrl)" (Doc ID 2126505.1)

Last updated on MAY 02, 2016

Applies to:

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

Symptoms

When attempting to upgrade the database, the following error occurs:

ERROR
--------
Error in run SQL script SSPPM_p82.sql DatabaseToolException (Violation of PRIMARY KEY constraint 'pk_settings'. Cannot insert duplicate key in object 'dbo.SETTINGS'. The duplicate key value is (Administrator_Settings, OnlineHelpRootUrl)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Launch DBSetup.bat
2. See error right away in core upgrade steps


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot upgrade the database.

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