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

1 Comment

Filed under MS CRM 2011

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

  1. 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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s