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 made 3 custom pagelayouts, 2 of them just inherit the correct version of the masterpage whilst the last one uses the same masterpage, but an older version of it.

It contains the exact same divs and controls as the masterpage the other 2 pagelayouts inherit, but not the same HTML structure. I can't seem to find the source of this evil.

I tried deleting the cache, rebuild and redeploy the custom masterpage etc. Nothing has helped so far.

How come this behaviour?

share|improve this question
up vote 1 down vote accepted

Do all the master pages use the same ~masterurl/default.master token? It could be that you've got one that is using the custom master page (~masterurl/custom.master)

Could your page have been detached from it's page layout (via SharePoint Designer)? That might do it as well. Essentially, your page would be built into a stand alone page.

share|improve this answer

Is the page that uses the third page layout 'customized' (unghosted) by any chance? What happens if you create a brand new page that uses the third page layout?

share|improve this answer
Then the new page will also use the wrong version of the masterpage. – Daniel Ziga Nov 22 '11 at 10:43

if unghosting / customizing was not the root of the evil, you can try to remove any reference from the page layout in your existing pages, delete the dreaded page layout and reprovision it again.

Alternatively, are you sure you don't have output caching with a long expiration date ? It could be cached client side and any change on the server wouldn't be reflected.

share|improve this answer

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.