Wednesday, June 3, 2009

STSADM -- Activate Publishing/ Publishing activation - access denied error / Greyed out link - Modify Navigation

. Wednesday, June 3, 2009

stsadm -o activatefeature -filename publishing\feature.xml -url http://<site_url>/sites/Vogue -force

stsadm -o activatefeature -filename publishingresources\feature.xml -url http://<site_url>/sites/Vogue -force

stsadm -o activatefeature -filename publishingSite\feature.xml -url http://<site_url>/sites/Vogue -force (activating on site collection level)

stsadm -o activatefeature -filename publishingweb\feature.xml -url http://<site_url>/sites/Vogue -force (activating on root site level)

stsadm -o activatefeature -filename publishinglayouts\feature.xml -url http://<site_url>/sites/Vogue -force

stsadm -o activatefeature -filename navigation\feature.xml -url http://<site_url>/sites/Vogue -force

use stsadm command line utility when: -

  • Clicking on activate/deactivate link for publishing doesn't activate publishing on site/web level.
  • Activating publishing through SharePoint UI gives 'access denied' error.

Access denied error during publishing activation is due to the reason that Publishing Resources are not activated on MOSS firs installation. hence we can manually do it using this utility (see above commands).

At times, you will notice that a publishing site has a number of grayed out links in Site actions: for e.g. 'Modify Navigation'. I was able to replicate this issue, when I ran the first command from above list. Publishing was incompletely activated and hence modify navigation link was grayed out. As soon as I ran the second command (publishingresources) the option became available.


MP Grewal said...

Thanks. That helped.

JGomez said...

Helo Mrs. Im troubleshooting with Microsoft and still cannot get fixed. Ran all commands you recommend same result. Top button tabs and modify navigation is grayed out. Rebuild also. Any recommendation? Thanks jgmiami@hotmail.