Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

SQL Error/SAME TABLE REFERENCE when Uninstalling a Managed Solution

Posted on by 375

I am attempting to remove a managed solution but keep receiving Generic SQL errors.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Generic SQL error.Detail: -2147204784 Generic SQL error. 2018-06-19T19:31:46.8422186Z false

I've attempted to increase the SQL timeout but that did not help. The event log shows the following error:

Uninstall failed. Error: The DELETE statement conflicted with the SAME TABLE REFERENCE constraint "solutioncomponent_parent_solutioncomponent". The conflict occurred in database "CRM_MSCRM", table "dbo.SolutionComponentBase", column 'RootSolutionComponentId'.The statement has been terminated.

The vendor of the managed solution unfortunately said that the Dynamics platform is responsible for uninstall operations so they could not assist further.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=france+construction+services+access++.psml%3Fuser_id%3D" - Nested quantifier +.