Wednesday, March 30, 2011

SharePoint:The site is not valid. The 'Pages' document library is missing


When i tried to create a page using Site actions in the site i get the following error
The site is not valid. The 'Pages' document library is missing


It was given that go to site features and activate "Office SharePoint Server Publishing Feature"
but it was already in actived!!!! so what to do now

I have managed to fix this. When you upgrade, the root site needs the site publishing feature deacitvating and reactivating.
Try running this:
stsadm -o deactivatefeature -name PublishingWeb -url https://UrlOfPublishingSite -force
stsadm -o activatefeature -name PublishingWeb -url https://UrlOfPublishingSiteiisreset

Thats it!!!!!!!!!!


  1. I'm getting the same error message on my meeting workspace, which is odd as meeting workspace does not have Pages library. That's why this approach does not work for me. When I try to do activatefeature from the shell, I get this message

    "Provisioning did not succeed. Details: Failed to create the 'Pages' library. Ori ginalException: The feature failed to activate because a list at 'Pages' already exists in this site. Delete or rename the list and try activating the feature again."

    Any thoughts