web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Duplicate key error when importing plugin assembly

(0) ShareShare
ReportReport
Posted on by 265

We’re trying to import a managed solution in CRM 2015 on premise.

The solution just contains the Plugin Assembly.

The import is failing with the error ‘Cannot insert duplicate key’ (the dialogue box says ‘A record with these values already exists’).

It does not fail in every environment, but (unfortunately) our UAT and Production environments only.

I think our next step is to delete all plugin processing steps and the assembly and them re-import both. Can’t just delete the assembly because of the dependencies. This seems like quite a desperate thing to have to do in a production environment…. And we don’t want to have to do this at every deployment.

Anyone else come across this? Any other ideas?

Thanks,

Ben

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Tushar2016CRM Profile Picture
    1,130 on at

    HI Ben ,

    Please follow below link if it might help .

    community.dynamics.com/.../144859

    Thanks !

  • Ben Walker Profile Picture
    265 on at

    Thanks Tushar - I think that this (social.microsoft.com/.../duplicate-key-error-when-importing-plugin-assembly) might be the cause of the problem.

    Dev/Test came from different original organisations to UAT/PRD when we upgraded....

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans