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)

Cannot drop index 'cndx_PrimaryKey_OpportunityProduct'

(0) ShareShare
ReportReport
Posted on by

Hi All, we plan to update Dynamics 365 CRM 8.2.1  from local CRM 2016, but the upgrade program prompt us the update installation is complete, but it can't update the organization. When I try to update it manually, it shows below:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlClient.SqlException: Cannot drop index 'cndx_PrimaryKey_OpportunityProduct' because it enforces the full-text key for table or indexed view 'OpportunityProductBase'.
Could not drop constraint. See previous errors.

It looks like maybe this index has something wrong,  what can I do for fixing this? Thanks very much ! 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    joman Profile Picture
    617 on at

    You need to drop Fulltext Indexes, before you can drop PK index. More info here: https://docs.microsoft.com/en-us/sql/t-sql/statements/create-fulltext-index-transact-sql

    You can find Fulltext Indexes by this query:

    SELECT object_id, property_list_id, stoplist_id FROM sys.fulltext_indexes
        where object_id = object_id('myTable'); 

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans