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)

cannot uninstall managed solution

(0) ShareShare
ReportReport
Posted on by

Dear CRM experts,

I ran into a problem I can't solve on my own. Wanted to get rid of a few unwanted attributes, I followed the HIDING approach and I end up in a state, where I cannot uninstall any of the managed solutions. Knowing it's an unsupported approach I can't expect much of a help from MS, so I hope I'm not the first poor guy with this problem. Please share your ideas with me. Thank you in advance.

It's CRM Online, client error log is following

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Should be exactly 1 MessageProcessingStep registered for workflowDetail: 
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147220970</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>Should be exactly 1 MessageProcessingStep registered for workflow</Message>
  <Timestamp>2015-04-08T15:10:48.3626414Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>


*This post is locked for comments

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

    Hi Jan,

    You could post the question the on the "Holding approach blog".

    Do you have a ticket with CRM Support?

    CRM Support could help by restoring a backup of your CRM Online organization, backup taken prior to the moment when you started getting this error. You will lose all the changes made meanwhile.

  • Community Member Profile Picture
    on at

    Hi Oana,

    thanks you for answer.

    I don't have support ticket, because restoring database and loosing changes is a no-go for us at the moment and we can live with current state.

    It's very frustrating, that the only way to delete custom attribute in prod is to uninstall the solution completely thus having to migrate or loose all data in other custom attributes/entities and facing other consequences!

    I know I'm weeping at a wrong place.

    Thanks again

  • Verified answer
    Community Member Profile Picture
    on at

    This is why I would always recommend that all internal development is deployed using unmanaged solutions.

    Managed solutions are intended for use when *distributing* customisations - like an ISV would do.

    If you have other custom attributes on the entity in question, then you could deploy a second managed solution from the same publisher that has these attributes in (but not the one you want to remove - delete that in dev before exporting your solution). This second solution should then "lock" those attributes in, even when you delete the first solution.

    Please please test this scenario using a different test / dummy production environment before doing anything that could be destructive of your solution or data (such as a pair of CRM Online demo setups, just for testing the behaviour works as expected).

  • Verified answer
    Community Member Profile Picture
    on at

    Hi Jan,

    I have some good news for you. We have checked with the product group and the scenario might be supported.

    For a deeper investigation on the error you get, please log a CRM support case and post back the ticket number for internal follow up.

  • Community Member Profile Picture
    on at

    Thank you Adam for your recommendation, I'll stick to that. I just followed the ALM for CRM 2011 document (I couldn't find this document for newer versions, but I believe the solutions concept did not change), where is a recommendation to use unmanaged solutions in development only. Not a mention about such consequences though.

    Valuable lesson for me! Thanks again

  • Community Member Profile Picture
    on at

    Hi Oana,

    that's truly good news! Thank you for the check with product group, I will pass this information to competent people in our company and we will follow your recommendation.

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