Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Managed solution import - Component library issue

(0) ShareShare
ReportReport
Posted on by 895

Hello,

I have an unmanaged solution in a DEV environment where for some reason I have deleted the component library for the model-driven app. After that, I created a brand new component library from scratch, published the solution, exported the solution as managed to import it back into my PROD environment to apply the new upgraded version.

After waiting for 41 mins, I got that the solution had failed with the following error message:

Solution-History.png

I have already removed the old component library from my source environment, as we cannot have two component libraries for one model-driven app.

The solution is managed and I don't want to delete it in PROD because I have live data.

What will be the solution to this problem to force remove the component library from the production, and re-import the one exported from the DEV environment?

Do we have to investigate in the customizations.xml of the solution or a Web API that deletes the component library or a tool on xrmtoolbox that removes that from the prod environment?

Any help is greatly appreciated.

Thank you!

  • EBMRay Profile Picture
    895 on at
    RE: Managed solution import - Component library issue

    RodRodriguez

    The update operation will make it work as it will add the new component without deleting the old component. However, I don't want to keep on updating the solution because the components or anything else that is not needed should be removed.

    In the DEV environment, I removed the old component library by using the Web API to delete it from the MOdel-driven app element table. This was successfully removed. I tried the same process in the production environment before importing the solution from the DEV environment but it failed with that error message 3 times.

  • RodRodriguez Profile Picture
    on at
    RE: Managed solution import - Component library issue

    Have you tried bringing in the managed solution as an update instead of an upgrade?  

    Also, if you happen to have an unmanaged version of that solution with the old component library in it, you could bring that into the dev environment and use that in place of the one you rebuilt from scratch

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,110 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans