Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Error Importing Managed Solution Into UAT (New Provider)

Posted on by

Hi.

Our company are in the process of taking ownership of the CRM development process of our CRM 2011 onpremise environment from a 3rd party vendor.

The existing system has a series of managed solutions installed on it (using the 3rd party vendors publisher).

To test the development process, on DEV (a copy of Live) - we created a new Managed solution (using a newly created publisher with a different prefix for use by ourselves).

We made several changes to existing entities.

Then we exported our solution as managed and attempted to import to UAT, getting the error below (the reported savedquery is on the out of the box account entity).

I have seen a few reported reasons for this but most seem to be using the same publisher.

I have a feeling this error may be because our managed solution uses a different publisher than the ones installed already on DEV/UAT/PROD.

Any ideas how to fix this?

Thanks

A managed solution cannot overwrite the SavedQuery component with Id=f2a2f6d4-d862-e111-bf4e-0050568e0011 which has an unmanaged base instance.
The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged SavedQuery component on the target system,
and now a managed solution from the same publisher is trying to install that same SavedQuery component as managed.
This will cause an invalid layering of solutions on the target system and is not allowed.

*This post is locked for comments

  • Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Error Importing Managed Solution Into UAT (New Provider)

    But are you sure the earlier vendor solution is managed , it seems like it's part of the unmanaged in target org.

  • brycare Profile Picture
    brycare on at
    RE: Error Importing Managed Solution Into UAT (New Provider)

    Hi. Thanks for the reply.

    I haven't actually changed any of the views on the system at all - but obviously adding the account entity will result in all of its views existing in the customizations.xml file.

    The only difference is that I have used a different publisher for my solution (as the publisher previously used was created  by a third party vendor and want to use one with our own prefix).

    Any thoughts?

  • brycare Profile Picture
    brycare on at
    RE: Error Importing Managed Solution Into UAT (New Provider)

    Hi. Thanks for the reply.

    I haven't actually changed any of the views on the system at all - but obviously adding the account entity will result in all of its views existing in the customizations.xml file.

    The only difference is that I have used a different publisher for my solution (as the publisher previously used was created  by a third party vendor and want to use one with our own prefix).

    Any thougts?

  • Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Error Importing Managed Solution Into UAT (New Provider)

    Hello,

    Can you confirm if the view you have changed is already part of your target system which is imported in target system using unmanned solution ?

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Error Importing Managed Solution Into UAT (New Provider)

    Hi ,

    This error seems related to views , so exclude the views which the I'd mentioned in the error  and try to export and import again.

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans