Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

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.

share|improve this answer
    
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 Jul 31 '11 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 Jul 31 '11 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 Jul 31 '11 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 Jul 31 '11 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 Jul 31 '11 at 13:01
show 3 more comments

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*"
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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