Home > SharePoint 2010, SharePoint Administration > Fixing SharePoint 2010 Site Collection Feature Activation Error: The field with Id {GUID} defined in feature {GUID} was found in the current site collection or in a sub site

Fixing SharePoint 2010 Site Collection Feature Activation Error: The field with Id {GUID} defined in feature {GUID} was found in the current site collection or in a sub site

I recently ran into a problem on a newly migrated Site Collection in my SharePoint 2010 environment that prevented me from activating the Nintex Workflow 2010 site collection feature on the site.  When I tried to activate the feature I was presented with the error below:

The field with Id {GUID} defined in feature {GUID} was found in the current site collection or in a sub site

Since the migration team is using Metalogix to migrate content between SharePoint 2007 to SharePoint 2010, Nintex does not play nice when Migrating data using a 3rd party Migration Tool (Metalogix, DocAve, etc).

If the Site on SharePoint 2007 has the Nintex Workflow feature activated on the site prior to migration, and the new site on SharePoint 2010 does not have this feature already activated [prior to data migration] then you will receive the above error when trying to activate later.

Apparently some data migration tools detect that a site column or content type from the SharePoint 2007 Site is not present in the SharePoint 2010 site so it then recreates these assets on the SharePoint 2010 site.  In this case, it will recreate a Nintex Workflow-installed content type and site column even though Nintex has not been activated.

The data migration tool then forcibly creates a column somewhere in the site collection that the Nintex Workflow feature activation cannot overwrite, preventing it from activating.

There are two workaround this problem.

1.  Activate the Nintex Worklow feature on the SharePoint 2010 Site Collection prior to any type of data migration from SharePoint 2007 to SharePoint 2010
2.  Nintex developed a handy tool called FeatureSiteColumnCleanup that recursively searches the SharePoint 2010 site for any Nintex Content Types and Columns and then removes them.

You can get that tool here – http://download.nintex.com/sl/supportfiles/support_utilities/NW2010/FeatureSiteColumnCleanup.zip

You would copy this file to one of your SharePoint WFE’s or CA boxes and run it from the command line.

If you just want a report of all Nintex content types and columns on your site you would run this command:

FeatureSiteColumnCleanup.exe “siteCollectionUrl”  -includeRootWeb

If you want to delete all Nintex content types and columns from your site you would run this command:

FeatureSiteColumnCleanup.exe “siteCollectionUrl” -includeRootWeb -deleteFound

Advertisements
  1. STV
    June 5, 2014 at 10:49 am

    Great finding. Thank you

  1. No trackbacks yet.

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

%d bloggers like this: