1

I'm trying to activate the SharePoint 2010 Server Publishing on a site and it gives the following message:

Site

The feature being activated is a Site scoped feature which has a dependency on a Site Collection scoped feature which has not been activated. Please activate the following feature before trying again: SharePoint Server Publishing Infrastructure f6924d36-2fa8-4f0b-b16d-06b7250180fa

Web

The Site scoped feature being activated has a dependency on hidden Site scoped feature 'FeatureDefinition/22a9ef51-737b-4ff2-9346-694633fe4416' (ID: '22a9ef51-737b-4ff2-9346-694633fe4416'). Hidden features cannot be auto-activated across scopes. There may be one or more visible Site scoped features that auto-activate the dependent hidden feature.

The SharePoint Server Publishing Infrastructure is already Active on the site collection. I'm using the v4.master. Any ideas?

2 Answers 2

2

I would try de-activating and re-activating the Publishing Infrastructure feature for the site collection (assuming you don't have other publishing sites). You may get another error message which you can follow to find what is missing.

Make sure you are activating the Publishing Infrastructure feature for the correct site collection. Go to your site's Site Actions->Site Settings. If the site is not the top-level site of the site collection, follow the link to Go to top-level site settings (note that you need to be a site collection administrator). Then go to Site Collection Features in order to activate the Publishing Infrastructure feature.

7
  • Thanks, SPDoctor. I did just as you indicated. Then I also noticed that the Site Collection Feature available from the site itself had the Publishing Infrastructure deactivated; not sure how it could be active at the root but not at this level. Once I activated at this level, then Server Publishing could be activated. Strange.
    – Alex C
    Commented Jul 31, 2011 at 11:52
  • 1
    It sounds as though there are two Site Collections involved here. Did you activate the Publishing Infrastructure site collection on the Central Administration site by mistake (I know quite a few people have done this)?
    – SPDoctor
    Commented Jul 31, 2011 at 12:09
  • I've been looking at the Central Admin. and can't figure out where to check for the site collection features.
    – Alex C
    Commented Jul 31, 2011 at 12:29
  • 1
    The site collection features are with the site collection and not central admin. Go to your root site for the collection. In the Site Settings page, there is a section for Site collection administration. There is a link for site collection features in this section.
    – Rich Ross
    Commented Jul 31, 2011 at 12:59
  • 1
    Okay, I think you may have been activating the Publishing Infrastructure feature on your Central Administration site collection. I'll update my answer as this can catch people out.
    – SPDoctor
    Commented Jul 31, 2011 at 13:01
1

If this does not work via the UI, you can try the same thing (de-activate - activate) through the command line on the server with the STSADM tool. The command would be:

stsadm -o deactivatefeature -id f6924d36-2fa8-4f0b-b16d-06b7250180fa -url "http://*url of site collection*" -force

stsadm -o activatefeature -id f6924d36-2fa8-4f0b-b16d-06b7250180fa -url "http://*url of site collection*" -force

If you want to do this in PowerShell, run these commands in the SharePoint PowerShell window.

Disable-SPFeature FeatureFolderName -Url "http://*url of site collection*"
Enable-SPFeature FeatureFolderName -Url "http://*url of site collection*"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.