Feature definition files for features installed within a SharePoint Farm cannot be found

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 ULS logs like the following:

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

CAUSE

The 'feature.xml' file is not available for all the features in the SharePoint farm.  Because of this, the deployed features will fail.  For each detected feature, the feature files, including feature.xml, element, and manifest files must be present in the '<14 directory>\Template\Features\<FeatureName>' directorywhere '<14 directory>' is the installation folder for SharePoint 2010.  By default, this is located at 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14'. Either the files have been deleted or they were not moved to every SharePoint web front end server.

RESOLUTION

To fix this issue, place the correct feature definition files and folder in the '<14 directory>\Template\Features\<FeatureName>'. 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 IIS Reset.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2671721 - Last Review: February 13, 2012 - Revision: 5.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
Keywords: 
KB2671721

Give Feedback