Submit a ticketCall us

AnnouncementsWeb Help Desk Integrations eCourse

Looking to reduce response times? Sign up for our eCourse to learn how integrating Web Help Desk with Dameware Remote Support, Network Configuration Manager, Network Performance Monitor, and Server & Application Monitor can improve communication efficiencies.

Register here.

Home > Success Center > Storage Resource Monitor (SRM) > 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: 449 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