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)

forcefully remove any solution

(0) ShareShare
ReportReport
Posted on by 1,562

Hello Everyone,

Couple of years back I was installed click dimension solution in my CRM instance.

Now I am unable to uninstall(delete) it because of lot of dependency, can anyone suggest me is there any way in CRM to forcefully remove any solution ?

below is the error log:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The {0}({1}) component cannot be deleted because it is referenced by {2} other components. For a list of referenced components, use the RetrieveDependenciesForDeleteRequest.
Data[0] = "Workflow"
Data[1] = "<a id='a_helplink' tabindex='0' class='ms-crm-Dialog-Error-Link' onclick='openStdWin("\x2fCommercial\x2ftools\x2fdependency\x2fdependencyviewdialog.aspx\x3fobjectid\x3d\x257bb212b314-a0ca-4221-9f13-7d0a6b0f2814\x257d\x26objecttype\x3d7100\x26operationtype\x3ddependenciesforuninstall", null, 800, 600, null)'>Details</a>"Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ActivityId>883c5ff6-a21b-47fd-9b2a-bd6f351753fe</ActivityId>
<ErrorCode>-2147160033</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>0</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">Workflow</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>1</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">&lt;a id='a_helplink' tabindex='0' class='ms-crm-Dialog-Error-Link' onclick='openStdWin("\x2fCommercial\x2ftools\x2fdependency\x2fdependencyviewdialog.aspx\x3fobjectid\x3d\x257bb212b314-a0ca-4221-9f13-7d0a6b0f2814\x257d\x26objecttype\x3d7100\x26operationtype\x3ddependenciesforuninstall", null, 800, 600, null)'&gt;Details&lt;/a&gt;</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>The {0}({1}) component cannot be deleted because it is referenced by {2} other components. For a list of referenced components, use the RetrieveDependenciesForDeleteRequest.
Data[0] = "Workflow"
Data[1] = "&lt;a id='a_helplink' tabindex='0' class='ms-crm-Dialog-Error-Link' onclick='openStdWin("\x2fCommercial\x2ftools\x2fdependency\x2fdependencyviewdialog.aspx\x3fobjectid\x3d\x257bb212b314-a0ca-4221-9f13-7d0a6b0f2814\x257d\x26objecttype\x3d7100\x26operationtype\x3ddependenciesforuninstall", null, 800, 600, null)'&gt;Details&lt;/a&gt;"</Message>
<Timestamp>2017-10-13T01:11:31.9119647Z</Timestamp>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

*This post is locked for comments

I have the same question (0)
  • ashlega Profile Picture
    34,477 on at

    Hi,

     AFAIK, there is no way. You'll have to remove those dependencies first.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Tin,

    There isn't any straight forward way in CRM to delete the managed solution without removing the dependencies. However, there is tool in XRM Toolbox "Managed Solution Deletion Tool" which you can try.  

    I haven't tried it but as per the description "Analyzes and deletes managed solutions with their dependencies")

    https://www.xrmtoolbox.com/

    github.com/.../MscrmTools.ManagedSolutionDeletionTool

    Hope this helps.

  • Tin Profile Picture
    1,562 on at

    Not working ravi :(

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