Dotnetdreamer's Weblog

SharePoint, Silverlight and Azure

Posts Tagged ‘Access Denied’

Access Denied – Activating Microsoft Office Server Publishing Infrastructure

Posted by Ramprasad Navaneethakrishnan on April 27, 2009

Hi Fellas,

Stuck up with the error “Access Denied” while activating the Publishing Infrastructure feature?? Read this post for solution

I was trying to create a sharepoint site with the Report Center template under the Enterprise tab.

report_center_site_creation

I got the message that I need to activate Publishing Infrastruture Feature in Site Collection before creating site of this type.

site_creation_error

I went to Site Collection Features in the section Site Collection Administration through Site Actions – > Site Settings

site_collection_features

When tried to activate the Publishing Infrastructure Feature, I got the Access Denied error.

activation_error

Solution 1:

Run the following command

stsadm -o activatefeature -name PublishingResources -url <siteurl>

Solution 2:

After some analysis, I found out that the AppPool for the current web application is having limited privileges. I did the following steps to resolve the problem

1. Open IIS. Locate the Web Applications. Go to properties. Select the Home Directory tab. Change the Application Pool to the one used by the Central Administration

2. Do IISRESET

3. Go the Site Collection Features. Activate the feature. Now it gets activated!

4. Go to IIS. Change the Application pool of the web application to the original one.

5. Do IISRESET

6. Now go back and create the Report Cente Site

Hope this will be useful. Forgive me for the horrible screenshots 🙂

Thanks,

Ramprasad.

Advertisements

Posted in MOSS 2007 | Tagged: , , , , , , , , , , , | 5 Comments »