Access Denied Error when Approve/Reject on SharePoint Publishing Portal

I had a really weird error on a SharePoint Site based on Publishing Portal Site Template. The out of box approval workflow has been disabled. However, user can’t see the “Publish” button on the Page Edit Tool Bar even user has been given full access to the site. User can only Submit for Approval. After that if the user try to Approve or Reject on the dropdown menu, user will be able to see the page which allows user to choose “Approved”, “Pending” and “Rejected”. At this point, if user selects a status and clicks on OK button, SharePoint throws a very *friendly* error: Access Denied.

I spent about 4 hours on this including reactivating publishing features, enable/disable approval workflow. None of them worked.

Finally I tried to delete the web application (keep the content database), and then recreated a new web application/reattached the content database. It worked.

I forgot to make a copy of the web.config file so I couldn’t compare the old one with the new one. Very interesting problem though.

Read More

SharePoint Server 2010 Trial Period for this Product has Expired

A lot of people suggest adding the application pool account used by SharePoint 2010 to Local Administrators group, which does solve the problem. However you will receive a warning from the SharePoint Health Analyzer.

Microsoft’s advice does not help.

You may want to try the following command as suggested by Javi (run it with the SharePoint installation user)

psconfig.exe -cmd secureresources

Read More