locked
Failed to activate feature 'TaxonomyFieldAdded' RRS feed

  • Question

  • I'm having the following exception when creating Document Center site collection, and because of this error the create site collection reverts back.

    Failed to activate feature 'TaxonomyFieldAdded' (Id 73ef14b1-13a9-416b-a9b5-ececa2b0604c) associated with site template 'BDR#0' at scope \"http://spapp/sites/site1\".  Exception: System.NullReferenceException: Object reference not set to an instance of an object.    
    at Microsoft.SharePoint.Taxonomy.TaxonomyFeatureReceiver.CreateFields(SPSite site)    
    at Microsoft.SharePoint.Taxonomy.TaxonomyFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties)    
    at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)    
    at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)    
    at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SP... d0df909d-4f39-f0c4-08e0-76edbac4bb4a

    Does anyone know why this exception is being thrown?

    Also is there a way to not activate for instance "TaxonomyFieldAdded" when a site collection is created. I looked at the feature directory and there was an option that said something close to "do not active on default," but since this feature is a Site feature the "do no activate on default" doesn't apply to Site or Web features. I also read something close to saying that any farm activated features will be activated on site and web features.

    Any help, pointer and suggestion is appreciated.

    Thanks.


    • Edited by df223a Monday, July 18, 2016 1:21 PM
    Monday, July 18, 2016 2:43 AM

Answers

  • Hi df223a,

    For troubleshooting the issue, you could check things below:

    1. Clear the SharePoint cache to check if it can work. For more detailed information, you could refer to the article below.

    SharePoint 2010 / 2013: Clearing the Configuration Cache.

    https://spcachecleaner.codeplex.com/

    2. Add this feature in the SiteFeatures element in the site template. When you create the document center, so you could add the site features in the onet.xml under the location below.

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\SiteTemplates\SPS\XML

    And you could find the TaxonomyFieldAdded feature in the location below.

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\TaxonomyFieldAdded

    For more detailed information, you could refer to the article below.

    Web Templates and Content Type Publishing.

    https://blogs.msdn.microsoft.com/chaks/2011/09/04/web-templates-and-content-type-publishing/

    3. Do IIS reset to check if it can work.

    Best regards,

    Sara Fan


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Victoria Xia Friday, August 5, 2016 9:18 AM
    • Marked as answer by Victoria Xia Monday, August 8, 2016 9:35 AM
    Thursday, July 28, 2016 8:38 AM

All replies

  • Hello

    Please check the link below

    http://sharepoint.stackexchange.com/questions/20451/how-to-activate-taxonomyfieldadded-feature-in-sharepoint-online


    Please remember to click 'Mark as Answer' on the answer if it helps you

    Monday, July 18, 2016 3:21 AM
  • Hi df223a,

    For troubleshooting the issue, you could check things below:

    1. Clear the SharePoint cache to check if it can work. For more detailed information, you could refer to the article below.

    SharePoint 2010 / 2013: Clearing the Configuration Cache.

    https://spcachecleaner.codeplex.com/

    2. Add this feature in the SiteFeatures element in the site template. When you create the document center, so you could add the site features in the onet.xml under the location below.

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\SiteTemplates\SPS\XML

    And you could find the TaxonomyFieldAdded feature in the location below.

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\TaxonomyFieldAdded

    For more detailed information, you could refer to the article below.

    Web Templates and Content Type Publishing.

    https://blogs.msdn.microsoft.com/chaks/2011/09/04/web-templates-and-content-type-publishing/

    3. Do IIS reset to check if it can work.

    Best regards,

    Sara Fan


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Victoria Xia Friday, August 5, 2016 9:18 AM
    • Marked as answer by Victoria Xia Monday, August 8, 2016 9:35 AM
    Thursday, July 28, 2016 8:38 AM