Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

1 Answer 1

You are probably missing reference to web part assembly. Maybe this link will help you: http://blog.degree.no/2010/12/sharepoint-2010-show-webpart-in-masterpage/

share|improve this answer

Your Answer

 
discard

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.