SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom master page, custom.master, for a publishing site. It was working fine, however I just enabled anonymous access to the publishing site, and now browsing to the home page for that site brings up the following error:

Cannot find ContentPlaceHolder 'PlaceHolderTopBanner' in the master page '/_catalogs/masterpage/custom.master', verify content control's ContentPlaceHolderID attribute in the content page.

I started from a minimal master page for custom.master. PlaceHolderTopBanner is a custom ContentPlaceHolder that I created (as an area for a different banner image to go on each page.)

If I disable anonymous access again, forcing me to log in before accessing the page, there are no errors and the page loads fine.

To enable anonymous access I enabled it at the web application level, and then for the publishing site -- I chose anonymous access for 'entire site'.

I guess it must be a permissions thing, but I have no clue as to what! Any help appreciated.

share|improve this question
up vote 2 down vote accepted

Have you checked-in and published the custom master page?

share|improve this answer
yep, that's probably it – Jaap Vossers Jun 9 '10 at 0:30
That was exactly it, thanks! – ngm Jun 9 '10 at 8:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.