{"id":166,"date":"2009-12-11T11:06:23","date_gmt":"2009-12-11T00:06:23","guid":{"rendered":"http:\/\/howden.net.au\/thowden\/?p=166"},"modified":"2009-12-11T11:06:23","modified_gmt":"2009-12-11T00:06:23","slug":"sharepoint-error-the-site-is-not-valid-the-pages-document-library-is-missing","status":"publish","type":"post","link":"https:\/\/howden.net.au\/thowden\/2009\/12\/sharepoint-error-the-site-is-not-valid-the-pages-document-library-is-missing\/","title":{"rendered":"SharePoint error: The site is not valid. The &#8216;Pages&#8217; document library is missing."},"content":{"rendered":"<p>I came up with this error when I manually created a &#8216;Pages&#8217; library and was trying to create New page in the library.<\/p>\n<blockquote><p><span>The site is not valid. The &#8216;Pages&#8217;  document library is missing.\u00a0\u00a0 at  Microsoft.SharePoint.Publishing.PublishingWeb.get_PagesList()<br \/>\nat  Microsoft.SharePoint.Publishing.Internal.CodeBehind.BaseP&#8230;.<\/p>\n<p>&#8230;agesBeforeAsyncPoint,  Boolean includeStagesAfterAsyncPoint)<\/span><\/p><\/blockquote>\n<p><span>The issue is that the &#8216;Pages&#8217; library is created automagically by a Team Site template but not with a Blank Site template. My quickie solution was to recreate the new site that I was just starting and use the Team Site template instead of the Blank template and just remove the other components that I did not need.<\/span><\/p>\n<p><span>I am sure there is a better way but I&#8217;ll look for it later. Expedience is, as always, the driver.<br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I came up with this error when I manually created a &#8216;Pages&#8217; library and was trying to create New page in the library. The site is not valid. The &#8216;Pages&#8217; document library is missing.\u00a0\u00a0 at Microsoft.SharePoint.Publishing.PublishingWeb.get_PagesList() at Microsoft.SharePoint.Publishing.Internal.CodeBehind.BaseP&#8230;. &#8230;agesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) The issue is that the &#8216;Pages&#8217; library is created automagically by a Team Site [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-sharepoint"],"_links":{"self":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":0,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"wp:attachment":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}