IBM Support

Consolidation finished with error "Violation of PRIMARY KEY constraint 'PKNC_XDB12'..."

Troubleshooting


Problem

User clicks "Group - Consolidate with Status". User runs a consolidation. In the batch queue, the message "Finished with error" appears. Double-clicking on the error gives the details.

Symptom

Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server]
Violation of PRIMARY KEY constraint 'PKNC_XDB12' . Cannot insert
duplicate key in object 'fastnet.xdb12' .The duplicate key value is...

Cause

There are several possible causes for similar "Cannot insert
duplicate key" errors when consolidating.

  • TIP: For more examples, see separate IBM Technote #1610677.

This Technote specifically relates to the scenario where the cause is a defect (APAR PM83561) in Controller 10.1.2670 and earlier.

Resolving The Problem

Upgrade to Controller 10.1.2671 or later (for example 10.2 or later).

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.1.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg21691742