Thursday 17 September 2015

Not able to create a Page Layout in SharePoint 2013 - Fixed

Hi All,

Recently I faced a weird problem while trying to create a new page layout from SharePoint Designer. Our environment got upgraded from 2010 to O365 recently.
Actually the error details were this:

When I tried to click on the Create New Page Layout link, I got "An unexpected error has occurred" message with a correlation ID. Even though we got the Correlation ID, it was not as easy as on-premises environment to go and check the logs.

So obviously I came for the help from Google and as usually it helped me in figuring it out.

Solution is as follows:


  • First check whether you are the Site Collection Administrator.
  • Then go to the Site Features, Disable SharePoint Server Publishing feature and go to the Site Collection features, Disable SharePoint Server Publishing Infrastructure feature
  • Then again Enable SharePoint Server Publishing Infrastructure in Site Collection Features . After that go to Site features and Enable SharePoint Server Publishing.


Now try to create a page layout. It works :)

Thanks for reading. Hope it helps..