Submit a ticketCall us

AnnouncementsChange Is Inevitable

Get valuable help when it comes to tracking and monitoring changes. SolarWinds® Server Configuration Monitor (SCM) is designed to help you: detect, track, and receive alerts when changes occur, correlate system performance against configuration changes, compare server and application configuration against custom baselines, and verify application and system changes.

Learn more.

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: 622 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