After a migration from SharePoint 2007 to 2010, I received the following error message below when trying to activate the Nintex Workflow 2010 feature at the site collection level.
The content type with Id 0x0108010064E42B14ADA442C78E98D686760A8493 defined in feature {86c83d16-605d-41b4-bfdd-c75947899ac7} was found in the current site collection or in a subsite.
Background
During the content migration, a site column or site content type from the SharePoint 2007 site collection is not present in the SharePoint 2010 site collection B. The site column or site content (most likely a Nintex Workflow-installed content type and site column) was recreated at the target team site. In other words, the site column or site content type was forcibly created somewhere in the site collection that the feature activation cannot overwrite, preventing it from activating.
Solution
Nintex created a utility to clean up any site columns and content types that exist in a sub site in a site collection. This tool recursively searches every site in a site collection, checking for all Nintex Workflow content types and site columns, and optionally attempts to delete these assets. It will print the location of any found assets to the console window. Once the assets have been removed, the site collection feature will activate correctly.
The tool is available from http://download.nintex.com/sl/supportfiles/support_utilities/NW2010/FeatureSiteColumnCleanup.zip.
It should be downloaded to a SharePoint server and run from a command console window as an account that has access to modify all sites in the site collection. Depending on the number of subsites in the site collection, the tool may take some time to run. The tool will print “Process complete” to the console window when it has finished processing.
Usage/Syntax
FeatureSiteColumnCleanup.exe “siteCollectionUrl” [-deleteFound] [-includeRootWeb]
- siteCollectionUrl: The URL to the top level site of the site collection that requires processing.
- -deleteFound: If this argument is included, any found content types of site columns will be deleted. If this argument is not included, the tool will only report the location of these fields.
- -includeRootWeb: If this argument is included, the root team site will be included in the search for assets. Please note that if the Nintex Workflow feature has activated correctly, the assets will exist at the root team site and should not be deleted.
Example:
FeatureSiteColumnCleanup.exe “http://sharepoint/sites/portal” –deleteFound
Related link: http://connect.nintex.com/forums/thread/12937.aspx
Leave a Reply