FAST Search site collection features are not activated

I’ve recently created a new SharePoint site collection but was missing the FAST features out of the Site Collection Settings. I had a site collection within the same Web Application where the features were present and so was very confused. I already had added myself to the FASTSearchAdministrators and the FASTSearchKeywordAdministrators groups on my FAST server which can also keep the FAST options hidden, and besides, I already had them visible elsewhere.

There were no obvious features to activate within the Site Collection features, and I had standard, enterprise & publishing features enabled. Noting the url of one of the pages in the working site collection I tried loading it up in the broken one. For example:

  • site/workingSC/_layouts/contextualkeywordmanagement.aspx
  • site/brokenSC/_layouts/contextualkeywordmanagement.aspx

At this point I got the standard SharePoint error popup with the message FAST Search site collection features are not activated. Pretty obvious what’s going on, the feature isn’t activated and there’ s no obvious way to do so via the UI.

Finding the Feature GUID

Digging through the API using Reflector reveals this method which any reasonable developer can infer will give you the error message above.

private static void ValidatePremiumSiteCollectionFeature()
{
   if (SPContext.Current.Site.Features[new Guid(SearchAdminConstants.FAST_SITE_ADMIN_FEATURE_ID)] == null)
   {
     ReportError(StringResourceManager.GetString(LocStringId.FSAdmin_Fast_Site_Admin_Feature_Not_Activated));
   }
}

A little more use of Reflector gets you the GUID for the FAST Site Admin Feature (5EAC763D-FBF5-4d6f-A76B-EDED7DD7B0A5).

Armed with this guid you can get the Feature definition. You don’t need it, but it’s interesting regardless (I’ve never seen this available via the UI).

Get-SPFeature | ? { $_.id -eq “5EAC763D-FBF5-4d6f-A76B-EDED7DD7B0A5″ }

DisplayName                    Id                                       Scope                         
-----------                    --                                       -----                         
SearchExtensions               5eac763d-fbf5-4d6f-a76b-eded7dd7b0a5     Site

From here, if you want to add the feature to a site collection simply run the following PowerShell

$siteWithNoFastFeatures = get-SPSite http://mysite/noFAST
$siteWithNoFastFeatures.Features.Add(“5EAC763D-FBF5-4d6f-A76B-EDED7DD7B0A5″)

7 responses to “FAST Search site collection features are not activated”
  1. Jordan says:

    Wow, this was the exact solution I needed and was looking for yesterday. Great timing.

    I wish I knew why this feature wasn’t already associated with the site collection, but I’m glad to have it working now.

  2. Been working with PSS for 3 months on this problem….Thank you! Now I can finally apply a CU to my farm.

  3. Tomas Gerhardsson says:

    Awsome!!
    Worked straight away.
    I’m very greatful :)

  4. […] site collection and boom everything was back to normal. J A quick Google search found this blog. http://www.neilrichards.net/blog/?p=149  so thanks […]

  5. […] Posted on 02. May, 2012 by bryan in SharePoint var addthis_product = 'wpp-262'; var addthis_config = {"data_track_clickback":true,"data_track_addressbar":false};if (typeof(addthis_share) == "undefined"){ addthis_share = [];}If you create a FAST Search Center based on the FAST Search Center Site Collection template, you may find that the FAST Search links are missing within the “Site Collection Settings” in Site Settings. If this is the case, you need to fire up PowerShell and add the SearchExtensions feature to the site collection using the following code (from Neil Richards at http://www.neilrichards.net/blog/?p=149): […]

  6. ngzk says:

    This is really nice! Thanks so much for posting this solution.
    Now, the 40M $$ question is, how and why this feature is gone by sudden?
    I did create two or three FAST Search Center sites for testing purposes, and all then no more there.
    I tried to recreate a new one, and no option available for it.
    Thanks in advance

  7. Viney says:

    I did as mentioned by you but I get the following error :

    Exception calling “Add” with “1” argument(s): “Feature ‘SearchExtensions’ (ID:
    5eac763d-fbf5-4d6f-a76b-eded7dd7b0a5) is already activated at scope ‘mysitecolection’.”
    At line:1 char:37
    + $siteWithNoFastFeatures.Features.Add <<<< ("5EAC763D-FBF5-4d6f-A76B-EDED7DD7B
    0A5")
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

    Still trying to solve the issue ..tried everything :(

Leave a Reply