Article ID: 2671721 - View products that this article applies to.
Expand all | Collapse all

Symptoms

Consider the following scenario:

You browse to a SharePoint site that uses a custom feature. Functionality that depends on that feature does not work, and you find an error in the SharePoint Unified Logging Service (ULS) logs as the following:

Failed to find the XML file at location "<SharePointVersion>\Template\Features\<FeatureName>\feature.xml" 
Feature definition missing for Feature "<FeatureName>"

Note <SharePointVersion> can be 14 for Microsoft SharePoint 2010 or 15 for Microsoft SharePoint 2013

Cause

This issue occurs because the feature.xml file is not available for all the features in the SharePoint farm. For each detected feature, the feature files, including feature.xml, element, and manifest files must be present in the "<SharePointVersion>\Template\Features\<FeatureName>" directory, and <SharePointVersion> is the installation folder for SharePoint 2010/2013. By default, this is located at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\<SharePointVersion>". 

These files either have been deleted or were not moved to every SharePoint web front end server.

Resolution

To resolve this issue, place the correct feature definition files and folder in the "<SharePointVersion>\Template\Features\<FeatureName>" directory. You can either restore the feature.xml definition file from a recent backup or copy it from another web front end server in your farm.

After you replace the files, perform an Internet Information Services (IIS) Reset.

Properties

Article ID: 2671721 - Last Review: February 20, 2014 - Revision: 6.0
Applies to
  • Microsoft SharePoint Foundation 2010
  • Microsoft SharePoint Server 2010
  • Microsoft SharePoint Server 2010 Service Pack 1
  • Microsoft SharePoint 2010 For Internet Sites Standard
  • Microsoft SharePoint 2010 For Internet Sites Enterprise
  • Microsoft SharePoint Foundation 2013
  • Microsoft SharePoint Server 2013
Keywords: 
KB2671721

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com