I have got a custom page layout that I want to create web part zone in.

I have generated below code from Design Manager and added to my page layout.(I had to take screenshot as it is not rendered correctly in the question)


When I try to load the page, I get below error;


Does anyone have any suggestion regarding how to fix this?


1 Answer 1


Please make sure you are adding the snippet in HTML file not in the ASPX. I faced the same issue, and turned out I was adding the snippet in ASPX page layout file. Once I added it in the HTML file, the same snippet worked.

  • I'm trying to do the same and yes, I'm adding this into the ASPX file. Where can I find an HTML file? There are no HTML files in the same folder.
    – user56339
    Aug 23, 2016 at 9:03
  • 1
    Hi @K48 - sorry for late reply, if you are using SharePoint 2013 you will find both the HTML and ASPX files of OOB master pages in Master Page gallery. If you are working on custom master pages, start by using Design Manager.
    – Usman
    Sep 3, 2016 at 18:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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