{"id":168,"date":"2009-12-11T11:10:06","date_gmt":"2009-12-11T00:10:06","guid":{"rendered":"http:\/\/howden.net.au\/thowden\/?p=168"},"modified":"2009-12-11T11:10:06","modified_gmt":"2009-12-11T00:10:06","slug":"sharepoint-error-value-does-not-fall-within-the-expected-range-at-microsoft-sharepoint-spfoldercollection-get_item","status":"publish","type":"post","link":"https:\/\/howden.net.au\/thowden\/2009\/12\/sharepoint-error-value-does-not-fall-within-the-expected-range-at-microsoft-sharepoint-spfoldercollection-get_item\/","title":{"rendered":"SharePoint error: Value does not fall within the expected range.   at Microsoft.SharePoint.SPFolderCollection.get_Item"},"content":{"rendered":"<p>In a day plagued with SharePoint errors, this one was a minor issue.<\/p>\n<blockquote><p><span>Value does not fall within the  expected range.\u00a0\u00a0 at Microsoft.SharePoint.SPFolderCollection.get_Item(String  urlOfFolder)<br \/>\nat  Microsoft.SharePoint.Publishing.CommonUtilities.GetDocLibByUrl(SPWeb web, String  webRelativeUrl) <\/span><\/p>\n<\/blockquote>\n<p>\nThis arose because the site that I was trying to Activate SharePoint Publishing service was within a Site Collection that had the service disabled. Enabling at the collection level, then allowed enabling at the site level.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a day plagued with SharePoint errors, this one was a minor issue. Value does not fall within the expected range.\u00a0\u00a0 at Microsoft.SharePoint.SPFolderCollection.get_Item(String urlOfFolder) at Microsoft.SharePoint.Publishing.CommonUtilities.GetDocLibByUrl(SPWeb web, String webRelativeUrl) This arose because the site that I was trying to Activate SharePoint Publishing service was within a Site Collection that had the service disabled. Enabling at [&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-168","post","type-post","status-publish","format-standard","hentry","category-sharepoint"],"_links":{"self":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/168","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=168"}],"version-history":[{"count":0,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"wp:attachment":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}