May 07

Exception Error 0×80020009 When Activating “Office Sharepoint Server Publishing Infrastructure” Feature

Tag: Collaboration — May 7, 2009 @ 7:14 am
Author:

C/D/H Consultant

More about C/D/H
Articles by C/D/H Consultant

Today, I came across an error when trying to create a Site Directory site within a MOSS 2007 environment.  The initial error was due to the “Office Sharepoint Server Publishing Infrastructure” feature not being activated.  When I tried to activate it, I received the following error.

Exception occurred. (Exception from HRESULT: 0×80020009 (DISP_E_EXCEPTION))

I found the following post in which Chris Winebarger outlined the steps to force re-activation of these features.

  • stsadm -o activatefeature -filename publishing\feature.xml -url http://url -force
  • stsadm -o activatefeature -filename publishingresources\feature.xml -url http://url  -force
  • stsadm -o activatefeature -filename publishingSite\feature.xml -url http://url -force
  • stsadm -o activatefeature -filename publishingweb\feature.xml -url http://url -force
  • stsadm -o activatefeature -filename publishinglayouts\feature.xml -url http://url -force
  • stsadm -o activatefeature -filename navigation\feature.xml -url http://url -force

Note: Replace http://url with the URL of your site collection.

In addition, as “NGDev” noted, I also had the issue with the “Modify Navigation” option being grayed out in Site Actions.  So I also executed the following command:

  • Delete the problematic site collection
  • Re-create the site collection
  • stsadm -o activatefeature -filename PublishingPrerequisites\feature.xml -url http://url -force

Note: You need to add the “-force” switch to the STSADM command.

Leave a Reply