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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Cannot insert duplicate key - dynamics CRM 2016 on premise (update 1.0)

(0) ShareShare
ReportReport
Posted on by 195

Hi guys,

I was hoping someone could help me with this error that I am getting since updating CRM Dynamics 2016 on premise to update 1.0. The full error message is attached as image. There is no error message in the windows server log. Any assistance would be greatly appreciated!

cannot-insert-duplicate-key.png

Cheers,

Luke

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Cannot insert duplicate key - dynamics CRM 2016 on premise (update 1.0)

    Hi.

    Yes, I mean force a Sync session w/CRM. 

    2086.Sync.PNG

    We don't have server side sync so I can't comment on that, but the duplicate error message is related to the Subject line in an e-mail.  At least that was the cause of the issue for us.  Once we located the troublesome e-mail, everything and everyone was happy.

  • Community Member Profile Picture
    on at
    RE: Cannot insert duplicate key - dynamics CRM 2016 on premise (update 1.0)

    Force a sync session? Can you be clearer? I know how to "Send/Receive All Folders" but I'm not sure how to force a sync (I'm assuming you mean with CRM?)

    It may be the case that I don't have that option since we're using server side sync. Since switching, I can no longer manually for a sync. It does it on its own on a regular basis.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Cannot insert duplicate key - dynamics CRM 2016 on premise (update 1.0)

    I had this issue too and came to a solution that wasn't that bad.  From Outlook, force a sync session and you'll get the following screen with an Error Description.  The error description references the e-mail "Subject" line that is causing the issue.  (I don't have an actual error picture to display, sorry....)

    Error-Screen.png

    Locate the e-mail in the Inbox and "Un-track" it.  Force a sync.  Once it's no longer tracked, the problem goes away.

    Hope this helped.

    Joe

  • Community Member Profile Picture
    on at
    RE: Cannot insert duplicate key - dynamics CRM 2016 on premise (update 1.0)

    Bump. This has been going on for a few months now. Please someone fix!

  • LukeHendo Profile Picture
    195 on at
    RE: Cannot insert duplicate key - dynamics CRM 2016 on premise (update 1.0)

    Still no solution unfortunately.

  • awad Profile Picture
    on at
    RE: Cannot insert duplicate key - dynamics CRM 2016 on premise (update 1.0)

    Hi all,

    has anyone found the resolution for this ?

  • bsenger Profile Picture
    on at
    RE: Cannot insert duplicate key - dynamics CRM 2016 on premise (update 1.0)

    Still having this issue and we've updated to SP1 release and update our Outlook Clients. Any one have any other suggestions?!

  • Smeagul Profile Picture
    315 on at
    RE: Cannot insert duplicate key - dynamics CRM 2016 on premise (update 1.0)

    Same problem here.

    Something new on this problem.

  • DanBlake Profile Picture
    on at
    RE: Cannot insert duplicate key - dynamics CRM 2016 on premise (update 1.0)

    Luke,

    Yes, our client trace logs contained the same error message "Cannot insert duplicate key."

    -Dan

  • LukeHendo Profile Picture
    195 on at
    RE: Cannot insert duplicate key - dynamics CRM 2016 on premise (update 1.0)

    thanks for the update Dan. Yes, you are right, we are still getting the error on the 0.1 machine now (spoke too soon).  Additionally, CIG_IT, all our machines have cached mode enable, so this is not the solution for us.

    Out of interest, both Dan and CIG_IT, were you experiencing the same error log that I posted?  

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans