Sharing the Point

Office 365, SharePoint, Project Server – Blog

Posts Tagged ‘Site Features’

How to find out SharePoint server missing features and remove those

Posted by Ashraf on August 30, 2011

While saving a SharePoint site as site template using “Save site as template” from site settings I was facing an unexpected error with a correlation id. After going through the correlation id I found it was some missing features which were causing the problem. Point to be noted here; the farm that I was working was migrated from SharePoint 2007 to 2010.

Find out missing features of a SharePoint site or site collection

To find out the missing features I have used a utility from msdn known as WssAnalyzeFeatures which allow you to detect the missing features in a text file and after that you can use that file to remove or deactivate that feature to the particular site/sitecollection. To use this utility navigate to the application folder and open command prompt and use the following command,

WssAnalyzeFeatures -url {site/sitecollection url}

For example,

>>WssAnalyzeFeatures -url http://sharepoint2010:20851

And the problem list is like the following which show the missing features with id and site/sitecollection url.

list of sharepoint missing features

list of sharepoint missing features

Remove missing features of a SharePoint site

Now you can use another utility named WssRemoveFeatureFromSite

 to remove those missing features from the site or site collection. Following command will remove the missing features with the feature id,

WssRemoveFeatureFromSite -scope (site|sitecollection) -url <url-to-site> -featureid <featureid> -force

For example,

>>WssRemoveFeatureFromSite -scope sitecollection -url http://sharepoint2010:20851 -featureid 69f5ac26-bb89-4190-893f-109783877cfb -force

Hope this helps.

Posted in SharePoint, System Administration | Tagged: , | 1 Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 59 other followers