Submit a ticketCall us

Training Class Getting Started with SolarWinds Backup - February 28

This course offers customers an introduction to SolarWinds Backup, focusing on configuring the backup technology, taking backups, data restoration and data security. It is a great primer and will get you up to speed quickly on SolarWinds Backup.
Register for class.

Home > Success Center > Enterprise Operations Console (EOC) > EOC Reports Tab Generates an Error in Instances Monitoring NPM and NCM

EOC Reports Tab Generates an Error in Instances Monitoring NPM and NCM

Created by Steven Bansil_ret, last modified by Laura C on Mar 15, 2018

Views: 1,408 Votes: 3 Revisions: 11


The following error is found in the Reports tab for Enterprise Operations Console (EOC) that is monitoring an instance running both NPM and NCM:

Violation of PRIMARY KEY constrant 'PK_EOC_Report. Cannot insert duplicate key in object 'dbo.EOC.Report'. The duplicate key value is (5, 1, Down Nodes). The statement has been terminated. 


  • EOC 1.6.x


The issue is caused by having custom reports with the same names created on different SolarWinds servers maintained under EOC.


To ensure that all reports run by EOC have unique names:

  1. Run the following query in SWQL Studio (part of Orion SDK) connecting to Orion using SWIS v2 on the Orion database to check for reports with duplicate names. Instead of SWQL Studio you can use SWIS interface on Orion Web Console by simply going to Settings and adding swis.aspx at the end of the URL, similar to below:
    SELECT name, Count (name) AS NameCount
    FROM Orion.Report
    GROUP BY Name
    ORDER BY NameCount DESC


  2. Locate rows with a NameCount value of more than 1 (they will be listed at the top) and perform any of the following: 
    1. Rename duplicate reports that are required to be retained.
    2. Delete duplicate reports that are not required to be retained.
  3. Check the Reports tab in EOC and confirm that the reports are displaying.
Last modified