Error 0x8004F016 while importing a managed solution

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.

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.

In order to fix this issue, you need to go to your source CRM org and perform the following steps:

  1. Open your Dev envornment.
  2. Navigate to Activity Feeds Configuration under Setting->System ->Activity Feeds Configurations.
  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.

One thought on “Error 0x8004F016 while importing a managed solution

Add yours

  1. Awesome site you have here but I was wondering if you knew
    of any community forums that cover the same topics discussed here?
    I’d really like to be a part of online community where I can get
    opinions from other knowledgeable individuals that share the same interest.
    If you have any suggestions, please let me know.
    Cheers!

Leave a comment

Create a website or blog at WordPress.com

Up ↑