Error calculating the segment record counts: Violation of PRIMARY KEY constraint 'PK__UFN_MKTS__C79734904879CB73'. Cannot insert duplicate key in object 'dbo.@GAPS'.

Users receive this error when calculating segment counts in Marketing Efforts: Error calculating the segment record counts: Violation of PRIMARY KEY constraint 'PK__UFN_MKTS__C79734904879CB73'. Cannot insert duplicate key in object 'dbo.@GAPS'. The duplicate key value is (36394182). BBERR_ORIGINAL_ERROR:2627 BBERR_ORIGINAL_PROCEDURE:USP_DATAFORMTEMPLATE_ADD_MKTSEGMENTATIONFINDERNUMBER BBERR_ORIGINAL_LINE_NUMBER:35
This is a data specific problem that requires a script fix to resolve.  Please contact customer support or create a case if you're encountering this issue

Steps to Duplicate

  1. Go to Direct Marketing Efforts
  2.  Find 17_XMAS_CATALOGUE_EDM2_AU
  3. Select Test Efforts and open TEST17_XMAS_CATALOGUE_EDM2_AU
  4. Click on link next to counts generated
  5.  Notice error

Environment

 Blackbaud CRM
 4.0

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.