Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

A managed solution that contains an entity that is 'Wall Enabled' is imported. When attempting to import the managed solution, it fails with error:

"A managed solution cannot overwrite a SavedQuery component on the target system that 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."

Cause

When an entity is wall enabled, two unmanaged Views are added to that entity:

  • <Entity>s Being Followed

  • <Entity>s I Follow


As the entity is exported into a managed solution, these unmanaged Views are exported into a managed state. Upon trying to import the managed solution in another environment, the import will fail if the destination organization has that same entity in a 'Wall Enabled' state.

As the error message indicates, the problem is because the destination environment already contains these same views, but in an unmanaged state. The managed solution cannot overwrite these components as it will cause an invalid layering of solutions on the target system and is not allowed.

Resolution

Before exporting the solution, deactivate the Activity Feed configuration for the entities being exported. To do this, perform the following steps:

 1. Navigate to Settings and click Post Configurations

a. Select each entity that will be exported

b. Click on the 'Deactivate' button in the Post Configurations ribbon control

c. Once you have deactivated the desired entities, publish all customizations. 2. Export the new solution again in a managed state

By deactivating the Post Configurations for these entities, the unmanaged views are temporarily removed from the entity and will not be included when the entities are exported. Since the views will not exist in the managed solution, there will be no conflict with the views when importing into the destination environment.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×