Submit a ticketCall us

Training ClassSign up for Network Performance Monitor (NPM) and Scalability instructor-led classes

Attend our instructor-led classes, provided by SolarWinds® Academy, to discuss the more advanced monitoring mechanisms available in NPM as well as how to tune your equipment to optimize its polling capabilities. NPM classes offered:
NPM Custom Monitoring and Polling
Orion Platform Scalability

Reserve your seat.

Home > Success Center > Storage Resource Monitor (SRM) > SRM - Knowledgebase Articles > Violation of PRIMARY KEY constraint 'PK_SRM_templates. Cannot insert duplicate key in object 'dbo.SRM.Templates'

Violation of PRIMARY KEY constraint 'PK_SRM_templates. Cannot insert duplicate key in object 'dbo.SRM.Templates'

Created by Milton Harris, last modified by Karen Valdellon_ret on Jun 20, 2017

Views: 755 Votes: 1 Revisions: 5

Updated June 20, 2017

Overview

This article addresses the following error:

Violation of PRIMARY KEY constraint 'PK_SRM_templates. Cannot insert duplicate key in object 'dbo.SRM.Templates'

Environment

All SRM versions

Resolution

  1. Open SQL Studio Manager.
  2. Go to the SRM Templates table.
  3. Expand Indexes.
  4. Locate and delete the SRM Templates index.
  5. Rerun the configuration wizard.

 

Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third-party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.

 

Last modified

Tags

Classifications

Public