Cause:
This is caused by the Application Pool user account for the web application not having rights to access the feature resource.
Fix:
There are a couple ways you can fix this; either give the user higher rights or more easily:
1. Open IIS Admin.
2. Location the Web Site for your WSS web application.
3. Goto to the properties and select the ‘Home Directory’ tab.
4. Change the AppPool to be the same as Central Administration.
5. Stop/Start the Web App.
6. Activate the Publishing Infrastructure feature on your site.
7. Change to AppPool back to the original.
8. Stop/Start the Web App.