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 SharePoint 2013 publishing site. I have had to insert a web part directly into the master page. I am using Randy Drisgill's publishing starter master page. I have done this with many projects but have never seen / had this error:

Web Part Manager:You must enable Web Parts by adding a WebPartManager to your page. The **WebPartManager must be placed before any Web Part controls on the page.**

I have checked to see that the web part manager is present in the master page:

    *<WebPartPages:SPWebPartManager runat="server"/>*   

Can any one offer some guidance please?

share|improve this question

You are probably missing reference to web part assembly. Maybe this link will help you:

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.