Dotnetdreamer's Weblog

SharePoint, Silverlight and Azure

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

5 Responses to “Access Denied – Activating Microsoft Office Server Publishing Infrastructure”

  1. Mario said

    Thanks man! you save me a lot of time

  2. Joe said

    Hi,
    Solution 2 worked great for me on my first site. Upon making another site however (on a different AppPool) I can’t get it to activate. Getting the Access Denied error. Do you have any other ideas why this wouldn’t work now? Solution 1 will not work. I’m getting a “Stsadm is not a valid Win32 application.”
    Thanks.
    Joe

  3. shri said

    folks,both the solutions are not working for me.will u please help me out

  4. Ms.Vedika said

    Thanq so much it help me out.

  5. nganphung said

    Solution 1:
    – First, you must run this command line:
    cd “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN”
    – After that you run:
    stsadm -o activatefeature -name PublishingResources -url http://yourwebsite

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: