A managed solution cannot overwrite the SavedQuery component with Id=xxxx-xxx-xxx-xxx-xxxx.. Error

Are you getting below error when trying to import managed solution exported from your dev environment where Activity feed is configured.

A managed solution cannot overwrite the SavedQuery component with Id=xxxx-xxx-xxx-xxx-xxxx  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.

If yes, you need to remove Activity feed configuration from source system before exporting your solution. You need to follow below steps

  1. Open your Dev envornment.
  2. Navigate to Activity Feeds Configuration under Setting->System.
  3. Delete all configuration records except for user entity.
  4. Delete user entity record.

 Now you can export your solution, make sure to click on “Publish All Customization” during export step.

Once solution imported into production envirnment, you can configure activity feed again.

 Enjoy !!!

reference : http://blogs.msdn.com/b/crm/archive/2012/01/26/activity-feeds-solution-amp-development-environment.aspx

One thought on “A managed solution cannot overwrite the SavedQuery component with Id=xxxx-xxx-xxx-xxx-xxxx.. Error

  1. Payday loans

    It is in reality a great and helpful piece of info.
    I am glad that you simply shared this helpful info with us.
    Please keep us informed like this. Thanks for sharing.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *