Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Receiving an error when trying to delete a managed solution

Posted on by Microsoft Employee

I am getting the following error when trying to delete a managed solution. Has anyone encountered this? The solution does not actually touch the Contract entity, however I am not sure if this error is meaning that, or a data contract. I am using CRM2016 on prem, with the december update

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:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>b47fe962-b71e-4b18-9313-793574968473</ActivityId>
<ErrorCode>-2147204784</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Generic SQL error.</Message>
<Timestamp>2017-05-29T17:19:48.1657034Z</Timestamp>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

I have checked the dependency view dialog and nothing comes up: http://server/org/tools/dependency/dependencyviewdialog.aspx?objectid=GUID&objecttype=7100&operationtype=dependenciesforuninstall

My ultimate goal I am trying achieve is to clean up some fields that had their datatypes altered. I want to use the same name so I am trying to delete them from my test environment using the method outlined in this blog post: www.mscrm.com/.../fields-that-are-not-valid-were.html

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Receiving an error when trying to delete a managed solution

    No I never did. Nothing short of wiping our your org and redeploying

  • Krishna Bhanushali Profile Picture
    Krishna Bhanushali 160 on at
    RE: Receiving an error when trying to delete a managed solution

    Did you find any solution for it? I am also getting the same error.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans