Submit a ticketCall us

whitepaperYour VM Perplexities Called, and They Need You to Read This.

Virtualization can give you enormous flexibility with future workloads and can be a key enabler for other areas, like cloud computing and disaster recovery. So, how can you get a handle on the performance challenges in your virtual environment and manage deployments without erasing the potential upside? Learn the four key areas you need to be focusing on to help deliver a healthy and well-performing data center.

Get your free white paper.

Home > Success Center > Enterprise Operations Console (EOC) > EOC - Knowledgebase Articles > 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,444 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