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 Exception

(0) ShareShare
ReportReport
Posted on by

Installed a new server with Dynamics 365 CRM Version 9.0 in English, and installed additional languages.

When i try to enable a language get following error.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Cannot insert duplicate key exception when executing non-query: System.Data.SqlClient.SqlCommand Exception: System.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'cndx_PrimaryKey_Report'. Cannot insert duplicate key in object 'dbo.ReportBase'. The duplicate key value is (e589370b-4904-e911-a815-000d3a0b39d8, 0, Dec 20 2018 11:19AM).
The statement has been terminated.

*This post is locked for comments

I have the same question (0)
  • Arun Vinoth Profile Picture
    11,615 Moderator on at

    Recommend you to create a MS support ticket.

  • Suggested answer
    Rhett Clinton Profile Picture
    Moderator on at

    Please ensure you have followed these steps.

    Install docs.microsoft.com/.../install-and-enable-a-language-pack

    Enable docs.microsoft.com/.../enable-languages

    If you are certain all steps followed correctly then I recommend opening a support ticket with Microsoft to resolve this.

  • Suggested answer
    Johnny Gong Profile Picture
    6,482 Moderator on at

    Dear All,

    This is a know issue that when activate language pack in V9 OP there will pop out the Duplicate Key / Duplicate Record issue.

    Bug: Can't enable language on Onpremise branch: Violation of PRIMARY KEY constraint... Cannot insert duplicate key in object....

    Currently I would suggest you to post a ticket for this issue and support engineer would give you a COD hotfix (must older than V9.0.2.3041) which is based on your D365 Server basic package language. Or you could contact me by private mail while I only have hotfix based on basic English and Chinese package.

    Hope the above info could find you.

    Best Regards

    Johnny

  • Community Member Profile Picture
    on at

    Hi Johny,

    Thank you for your email.

    I have a Microsoft ticket open for this issue, they have taken some logs off my server, and i'm waiting for there responce.

    Regards.

  • Johnny Gong Profile Picture
    6,482 Moderator on at

    Hi Whafiz,

    From my point of view, you could show MS ticket follow up engineer about the bug id and my post in the forum which must help you on the case process. We met more than two customers fixed the issue after they installed related hotfix.

    If there's any concern, pls no hesitate to contact me.

    Regards

    Johnny

  • nickmangioros Profile Picture
    470 on at

    I have the same issue trying to install the French Language pack 9.0.1.0000.0283

    let me know what Microsoft says.

  • Suggested answer
    SenD Profile Picture
    5 on at

    This is actually fixed through KB4458112.  Thought their Feb release of v9 in MyVisualStudio had it.  Unfortunately its still not released and the version still says 9.0.2.3034.  This KB is not available publicly yet.  Reuploading if anyone needs it.  Since its not officially release yet, its recommended only for development, testing purposes.

    1drv.ms/.../s!AoNfZgIZgZoUgWBvs37STFNoNtti

  • Evert Jan van den Bosch Profile Picture
    5 on at

    Thanks for uploading the hotfix, really helpful!

  • Community Member Profile Picture
    on at

    I have been given language packs for version 9 now, I have German, Spanish and Turkish.

    Let me know if you will like a copy.

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