A managed solution cannot overwrite a Saved Query component on the target system that has unmanaged base instance error while importing a managed solution in CRM 2011

Hi,

While trying to import a managed solution I was getting the below error.

The reason being the SavedQuery component created by the Activity Feeds Solution in source and target environment has the same id. And it is unmanaged component in the target environment and the managed solution that we were trying to import has the same component as managed.

http://social.microsoft.com/Forums/br/crm/thread/83f66edd-0ec3-45f0-bc82-b63122d1ff7f

Commenting out all the savedquery from the customizations.xml and importing the solution back solved the issue

Hope it helps.


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

2 thoughts on “A managed solution cannot overwrite a Saved Query component on the target system that has unmanaged base instance error while importing a managed solution in CRM 2011”

  1. Sometimes, just commenting that Saved Query doesn’t work. In my case, I checked in all entities, there were some unmanaged views as well in the default online solution. These views were in Account, Contact, Case, Lead, Opportunity entities. Just delete those unmanaged views and dont remove that saved query part will resolve the problem.

    Like

Share your thoughts

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