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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2011 RU 18 Update Org Fails

(0) ShareShare
ReportReport
Posted on by 620

Hi,

I am going from RU11 to RU 18 and my MSCRM db updates successfully. I only have one organization and it fails stating a duplicate key in ''dbo.RolePrivilegesBase':  

Error| Update Organization with Id=bc86d68c-5537-df11-84b2-0050569671af failed with Exception:
System.Exception: Action Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction failed. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlClient.SqlException: The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'dbo.RolePrivilegesBase' and the index name 'UQ_RolePrivileges'. The duplicate key value is (27763a04-b6d8-45f4-a818-620c8bdef61b, b140e729-dfeb-4ba1-a33f-39ff830bac90, fd140aae-4df4-11dd-bd17-0019b9312238).
Could not create constraint.

What would be a next step for troubleshooting?

Thanks,

Ryan

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    on at

    Hi Ryan,

    Can you refer the following links:

    nerdsknowbest.blogspot.in/.../resolution-errors-after-installing.html

    social.microsoft.com/.../error-installing-crm-2011-update-rollup-11-v2

    Hope it helps.

    Regards,

    R. Rajkumar

  • Ryan Connolly Profile Picture
    620 on at

    Hi,

    I am not able to select 'Ignore Duplicate Values' on the index as it returns 'cannot use ignore index values as it enforces a primary or unique constraint'. I also tried removing the organization and importing thru Deployment Manager and receive the same error on the duplicate index.

  • Community Member Profile Picture
    on at

    Hi Ryan,

    There were some major changes in the UR 12 for CRM 2011, and it is always recommended from Microsoft to carry out the upgrading process like UR 12 -> UR 15 and then UR 18...

    Please carry out this method of upgrading your CRM 2011 org, and see if the issue is still there.

    Vijay Mani | CRM Support engineer

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans