Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Unable to import solution as upgrade due to dependency to the temporary upgrade solution

Posted on by 5

I'm coming across the following issue while deploying one of our custom solutions (managed) as an upgrade to one of our environments.

'Can't import the solution Welzorg: Solution Upgrade action failed after import as holding. InnerException is: This solution cannot be uninstalled because the 'Attribute' with id '860aea4d-ae71-4b62-b55c-b9fb6d13f226(flm_welzorgdistrictid)' is required by the 'Welzorg_Upgrade' solution. Uninstall the Welzorg_Upgrade solution and try again..'

We have been struggling with this issue for the last week, and I can't figure out how to fix it. What I understand from the error message is that the temporary Welzorg_Upgrade solution can't be uninstalled, due to a dependency to the field flm_welzorgdistrictid, so i have to manually uninstall the solution, which succeeds but makes no sense since the automatic import process fails at this..

In our source environment, the Welzorg solution does contain the field flm_welzorgdistrictid, the entity relationship is present in the solution and the field is present on the form that it is supposed to be on.
This field also already exists in our target environment and the dependencies in both environments for the field are the same.

Any help on this matter would be much appreciated.

  • Suggested answer
    RodRodriguez Profile Picture
    RodRodriguez on at
    RE: Unable to import solution as upgrade due to dependency to the temporary upgrade solution

    Howdy!

    What you can try is to import a different solution that has those elements and relationships in it. That will act as a "holding" solution so that the elements will always be present in at least one solution during the process.

    And the system isn't failing at uninstalling the _Upgrade solution, it is failing at uninstalling the BASE solution.  After that solution is removed the system renames the Welzorg_Upgrade solution to just "Welzorg"

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans