Inconvienient SiteActions menu and hidding Publishing Actions

Hiding out of the box SharePoint parts has been made a whole lot easier in SharePoint 2010 with the introduction of the HideCustomAction element. So whenever you need or want to hide something in the Ribbon or the SiteActions menu you should look into that, instead of just deleting the controls from the masterpage (something you can only do for the SiteActions menu, and I strongly discourage you do to so and run back to the HideCustomAction). ...

#debugging

Confusing access denied on the defaultpage of a PublishingWeb

Working on a new breadcrumb solution for SharePoint 2010 I encountered a nice error, and as it turned out sometimes you just ‘forget’ what you should already know. In this case whenever a user with read permissions hit a page my breadcrumb would throw an access denied error (it was of course nicely logged to the ULS), while everyone who had contribute rights didn’t have any troubles seeing the breadcrumb. ...

#debugging #Managed Metadata #Timeout

Managed Metadata Service unavailable first request after IISReset

Last week I encountered an environment at a client that had some problems on their build automation scripts. Each night they would run a de-install and install of certain solutions, and for some reason it would always fail while installing. It looked like if the Managed Metadata Service was unavailable every first request after an IISReset, since the error shown was pretty straight forward: ...