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)

Stuck in deleting Managed solution due to dependencies

(0) ShareShare
ReportReport
Posted on by

Hello, 

I've been trying to remove FinDemo solution from my CRM Online, but I'm reaching a point where I can no longer delete any more components due to dependent components that cannot be deleted as they are related to the managed solution. I'm wondering if there is a way out !!

Here's the scenario: 

When deleting the FinDemo solution, I get the dependency error as follows: 

8750.1.JPG

So I tried to delete the relationship "Contact(fin_fin_branch_contact) but I received the following error:

0825.2.JPG

I moved to Branch entity, and tried to delete fin_totalclientvalue, but i also received the following error: 

4540.3.JPG

Finally, when i tried to delete fin_avgclientvalue, I got this error: 

1212.4.JPG

I'm blank on ideas, any help would be greatly appreciated.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hello SB user,

    You can't delete the field fin_totalclientvalue because it is a part of the managed solution.

    Try to remove the fields in the screen shot from the branch form. Then try to delete the FinDemo managed solution.  Please upload the error log file for further isolation of the issue.

    Regards,

    Dinesh 

    Microsoft Dynamicsâ„¢ CRM Support Engineer

    "Please mark my answer as verified if you found it helpful"

  • Community Member Profile Picture
    on at

    Hi Dinesh,

    I made sure that the Branch form doesn't include the fields in the screenshot, i also removed the dependencies between the fields. But I still get the same error for the dependency when trying to delete FinDemo solution.

    Here's the Log File:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.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] = "AttributeMap"

    Data[1] = "<a id='a_helplink' tabindex='0' class='ms-crm-Dialog-Error-Link' onclick='openStdWin("\x2ftools\x2fdependency\x2fdependencyviewdialog.aspx\x3fobjectid\x3d\x257b9366141a-7faa-426b-b468-16fe60f2a502\x257d\x26objecttype\x3d7100\x26operationtype\x3ddependenciesforuninstall", null, 800, 600, null)'>Details</a>"Detail:

    <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance&quot; xmlns="schemas.microsoft.com/.../Contracts&quot;>

     <ErrorCode>-2147160033</ErrorCode>

     <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic&quot;>

       <KeyValuePairOfstringanyType>

         <d2p1:key>0</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">AttributeMap</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>1</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string"><a id='a_helplink' tabindex='0' class='ms-crm-Dialog-Error-Link' onclick='openStdWin("\x2ftools\x2fdependency\x2fdependencyviewdialog.aspx\x3fobjectid\x3d\x257b9366141a-7faa-426b-b468-16fe60f2a502\x257d\x26objecttype\x3d7100\x26operationtype\x3ddependenciesforuninstall", null, 800, 600, null)'>Details</a></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] = "AttributeMap"

    Data[1] = "<a id='a_helplink' tabindex='0' class='ms-crm-Dialog-Error-Link' onclick='openStdWin("\x2ftools\x2fdependency\x2fdependencyviewdialog.aspx\x3fobjectid\x3d\x257b9366141a-7faa-426b-b468-16fe60f2a502\x257d\x26objecttype\x3d7100\x26operationtype\x3ddependenciesforuninstall", null, 800, 600, null)'>Details</a>"</Message>

     <Timestamp>2016-01-17T10:51:49.8433699Z</Timestamp>

     <InnerFault i:nil="true" />

     <TraceText i:nil="true" />

    </OrganizationServiceFault>

  • hellosuresh Profile Picture
    539 on at

    Hi,

    I faced same kind of situation and I removed all the fields on the form and relationships. But, it prompts to delete web resource ( java script file) which is part of managed solution (deleting) AND also part of existing un-managed solution entity.  How to handle this kind of situation.

    As part of fixing the issue, I removed web resource(  java script) file from existing un-manged solution. Then I deleted my managed solution. Again I added back my web resource (java script) file.

    Is there any other alternative, for this kind of situations?

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