Raghu's SharePoint Corner: SharePoint Server Publishing Infrastructure Access Denied

My blog has moved!

You will be automatically redirected to the new address. If that does not occur, visit
and update your bookmarks.

November 16, 2009

SharePoint Server Publishing Infrastructure Access Denied

Recently we had a new server setup for SharePoint with Windows server 2008. I needed a publishing site for my new application, so I went to the Site Settings -> Site Collection Feature -> and clicked on activate Office SharePoint Server Publishing Infrastructure Feature. For a surprise I got an Access Denied Exception for the first time (Completely Shocked Since I never faced this before). I was curious to find out what were the exception details in the event viewer. The Event viewer showed the following exception details “Failed to provision the scheduling job definitions. Page scheduling will not succeed.”

The fix for this exception is to change the Application Pool Temporarily. Open IIS, Navigate to your website. Click on Advance Settings, by default the application pool will be your website app pool, change it to Central Admin from the drop down list shown below and click Ok. Go to your Site Features and activate the Office SharePoint Server Publishing feature. Once the feature is activated reset the Application Pool of the website to its original state and perform an IISRESET.

I don’t know if there is any alternate approach for the same. If any please leave a comment.


trupti said...

Ativate the feature using stsadm then login to site and activate again using UI

Raghavendra Shanbhag said...

Thanks trupti,
will try acitvating the feature using stsadm.exe