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.
I got the message that I need to activate Publishing Infrastruture Feature in Site Collection before creating site of this type.
I went to Site Collection Features in the section Site Collection Administration through Site Actions – > Site Settings
When tried to activate the Publishing Infrastructure Feature, I got the Access Denied 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.