I tried creating a regular document library with content types using my custom page layout. Each time I try to make a new page from within the new library, I get the error message. The page layout template works if used in default Pages library.

Sorry, something went wrong
An unexpected error has occurred.

Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 9a438a9e-c0ae-6000-86a1-078208c1cd08

Date and Time: 8/31/2018 3:13:58 PM


If above is not possible, how do I add a web part using the Pages library. I'm trying to see if I can easily add dynamic table of contents or related links. The Pages library is not visible from the list of apps.

  • Pages library is not visible to you?? Which permissions do you have on site? – Ganesh Sanap Sep 1 '18 at 15:26
  • No, I wasn't until after I deactivated and activated the publishing feature once more. I can see it now. But, is there a way to create a separate library while using the custom page layout without getting the error message above? – Tamras Merin Sep 4 '18 at 17:23

Activate the publishing feature to see the Pages Library in Site contents.

Steps to Activate:

1. Go to site Settings

2. Click on Site collection features


3. Activate the feature "SharePoint Server Publishing Infrastructure"

Once Feature activated you will be able to see the Page Library

  • it was already activated. I deactivated and activated it again and I can see Pages from the list of apps from the insert web part option. Thanks. – Tamras Merin Sep 4 '18 at 17:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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