Tuesday, September 15, 2009

Enable Publishing feature for site collection gives access denied error

This is one of the cases where you really hate SP administration using the UI.
The friendly(?) errors generated by sharepoint lead you nowhere.

I tried to follow the steps given by Vincent Rothwell here but it didn't work for me.
But scrolling through the comments on the same blog gave me few leads and finally I resolved the issue.

1. Activate the feature via stsadm on the server:
stsadm -o activatefeature -name PublishingResources -url http://website/

2. Check the site administration - site features page in site setting (refresh if needed) - Publishing feature should be activated

3. If it is not, manually enable it after you run the command.

Lesson to learn: You should pay attention to comments as well, not just the blog :)

No comments:

Post a Comment