{"id":1891,"date":"2012-12-23T11:15:08","date_gmt":"2012-12-23T19:15:08","guid":{"rendered":"http:\/\/www.brainlitter.com\/?p=1891"},"modified":"2012-12-23T11:15:08","modified_gmt":"2012-12-23T19:15:08","slug":"sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit","status":"publish","type":"post","link":"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/","title":{"rendered":"Sometimes you need to tell SharePoint Publishing\u2013\u201cActivate Damnit!\u201d"},"content":{"rendered":"<p>Ok, I\u2019ve run into this enough times, I figured I\u2019d share it.<\/p>\n<h2>What<\/h2>\n<p>Today\u2019s scenario was that I was using Metalogix Migration Manager (or rather, Content Matrix as it is now called) to move a SharePoint Site Collection to a new farm. During this move, SharePoint Publishing got, er, buggered, for lack of a better word.<\/p>\n<p>My content came across, but no matter what I did, I could not, in the GUI or through tricks in SharePoint Designer (renaming libraries and other garbage suggested out there on the Interweb), I could not enable the SharePoint Server Publishing Infrastructure Feature.<\/p>\n<h2>So What<\/h2>\n<p>Well, this is a drag.\u00a0 I can\u2019t have a pages library and layouts, I can\u2019t use navigation and frankly, I don\u2019t like my stuff \u2018broken\u2019 either. Just not cricket and not something I like to carry on with me like <span style=\"text-decoration: line-through\">herpes<\/span>, er, luggage.\u00a0 And, I don\u2019t like to lose\u2026<\/p>\n<h2>Now What<\/h2>\n<p>Here are some of the errors I encountered today, hoping Google helps others find this as well\u2026 Note, the errors below depended on what I was trying to do at the time (various other techniques that ultimately didn\u2019t help):<\/p>\n<p><span style=\"color: #f79646;font-family: Courier New\">Provisioning did not succeed. Details: Failed to provision all permission settings. OriginalException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)<\/span><\/p>\n<p>And<\/p>\n<p><span style=\"font-family: Courier New\"><span style=\"color: #f79646\">Failed to instantiate file &#8220;ContentQueryMain.xsl&#8221; from module &#8220;XSLStyleSheets&#8221;: The specified list does not exist.<\/span> <\/span><\/p>\n<h2>Dude, What\u2019s the Fix?<\/h2>\n<p>Note, I\u2019ve come across this in both SharePoint 2010 and 2013 and suspect considering the Feature ID is the same, in 2007 this probably also applies.<\/p>\n<ol>\n<li>Take a Backup \u2013 I\u2019m not responsible for your data, you are\u2026<\/li>\n<li>Stop trying to click Activate in your Site Collection Features Admin for the SharePoint Server Publishing Infrastructure feature.\u00a0 As Einstein says, the definition of being a nut job is trying the same thing over and over and expecting the same result\u2026<\/li>\n<li>Go to your SharePoint Server\u2019s PowerShell and Deactivate Publishing for your site collection from the PowerShell command line and reactivate it.\u00a0 It will tell you that it wasn\u2019t activated (gee, that\u2019s what the GUI said too). But if you have \u2018remnants\u2019 of publishing kicking around, you\u2019ll need to use the PowerShell equivalent to clean house and then reactivate it. Here goes:<\/li>\n<\/ol>\n<h4>To Deactivate<\/h4>\n<p>(Do it, you know you want to and will have to)<\/p>\n<p><span style=\"color: #f79646;font-family: Courier New\">stsadm -o deactivatefeature -id f6924d36-2fa8-4f0b-b16d-06b7250180fa -url <span style=\"color: #ff0000\"><u>&#8220;<\/u><\/span><\/span><a href=\"http:\/\/yoursharepointurl\/sites\/c\"><span style=\"color: #ff0000;font-family: Courier New\"><u>http:\/\/yoursharepointurl\/sites\/<\/u><\/span><\/a><span style=\"color: #f79646;font-family: Courier New\"><span style=\"color: #ff0000\"><u>sitecollection&#8221;<\/u><\/span> -force<\/span><\/p>\n<p>You\u2019ll no doubt, if you came across this post, get a notice saying it wasn\u2019t enabled\u2026 something to the effect of \u201c&#8221;Feature &#8216;f6924d36-2fa8-4f0b-b16d-06b7250180fa&#8217; is not activated at this scope&#8221;<\/p>\n<h4>To Activate<\/h4>\n<p>Ok, time to flip it back on<\/p>\n<p><span style=\"color: #f79646;font-family: Courier New\">stsadm -o activatefeature -id f6924d36-2fa8-4f0b-b16d-06b7250180fa -url <span style=\"color: #ff0000\"><u>&#8220;<\/u><\/span><\/span><a href=\"http:\/\/yoursharepointurl\/sites\/c\"><span style=\"color: #ff0000;font-family: Courier New\"><u>http:\/\/yoursharepointurl\/sites\/<\/u><\/span><\/a><span style=\"color: #f79646;font-family: Courier New\"><span style=\"color: #ff0000\"><u>sitecollection&#8221;<\/u><\/span> \u2013force<\/span><\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/12\/image10.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px\" title=\"image\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/12\/image_thumb10.png\" alt=\"image\" width=\"564\" height=\"171\" border=\"0\" \/><\/a><\/p>\n<h2>And Viola!\u00a0 It\u2019s Activated<\/h2>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2012\/12\/image11.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px\" title=\"image\" src=\"\/wp-content\/uploads\/brainlitter\/2012\/12\/image_thumb11.png\" alt=\"image\" width=\"577\" height=\"45\" border=\"0\" \/><\/a><\/p>\n<p>Now you can turn on your site publishing feature if you want your \/pages library and Navigation should be back as well.<\/p>\n<p>Hope this helps someone.<br \/>\nSean<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, I\u2019ve run into this enough times, I figured I\u2019d share it. What Today\u2019s scenario was that I was using Metalogix Migration Manager (or rather, Content Matrix as it is now called) to move a SharePoint Site Collection to a new farm. During this move, SharePoint Publishing got, er, buggered, for lack of a better &hellip; <a href=\"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[334,194,450],"tags":[758,243,647,759],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Sometimes you need to tell SharePoint Publishing\u2013\u201cActivate Damnit!\u201d - Brainlitter - Inside the mind of Sean Wallbridge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sometimes you need to tell SharePoint Publishing\u2013\u201cActivate Damnit!\u201d - Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"og:description\" content=\"Ok, I\u2019ve run into this enough times, I figured I\u2019d share it. What Today\u2019s scenario was that I was using Metalogix Migration Manager (or rather, Content Matrix as it is now called) to move a SharePoint Site Collection to a new farm. During this move, SharePoint Publishing got, er, buggered, for lack of a better &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/\" \/>\n<meta property=\"og:site_name\" content=\"Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"article:published_time\" content=\"2012-12-23T19:15:08+00:00\" \/>\n<meta name=\"author\" content=\"Sean Wallbridge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Wallbridge\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/\",\"name\":\"Sometimes you need to tell SharePoint Publishing\u2013\u201cActivate Damnit!\u201d - Brainlitter - Inside the mind of Sean Wallbridge\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\"},\"datePublished\":\"2012-12-23T19:15:08+00:00\",\"dateModified\":\"2012-12-23T19:15:08+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brainlitter\",\"item\":\"https:\/\/regroove.ca\/brainlitter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sometimes you need to tell SharePoint Publishing\u2013\u201cActivate Damnit!\u201d\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/\",\"name\":\"Brainlitter - Inside the mind of Sean Wallbridge\",\"description\":\"Dad. Husband. Drummer. Learner of Things.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"caption\":\"Sean Wallbridge\"},\"url\":\"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sometimes you need to tell SharePoint Publishing\u2013\u201cActivate Damnit!\u201d - Brainlitter - Inside the mind of Sean Wallbridge","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/","og_locale":"en_US","og_type":"article","og_title":"Sometimes you need to tell SharePoint Publishing\u2013\u201cActivate Damnit!\u201d - Brainlitter - Inside the mind of Sean Wallbridge","og_description":"Ok, I\u2019ve run into this enough times, I figured I\u2019d share it. What Today\u2019s scenario was that I was using Metalogix Migration Manager (or rather, Content Matrix as it is now called) to move a SharePoint Site Collection to a new farm. During this move, SharePoint Publishing got, er, buggered, for lack of a better &hellip;","og_url":"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/","og_site_name":"Brainlitter - Inside the mind of Sean Wallbridge","article_published_time":"2012-12-23T19:15:08+00:00","author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/","url":"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/","name":"Sometimes you need to tell SharePoint Publishing\u2013\u201cActivate Damnit!\u201d - Brainlitter - Inside the mind of Sean Wallbridge","isPartOf":{"@id":"https:\/\/regroove.ca\/brainlitter\/#website"},"datePublished":"2012-12-23T19:15:08+00:00","dateModified":"2012-12-23T19:15:08+00:00","author":{"@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/brainlitter\/2012\/12\/23\/sometimes-you-need-to-tell-sharepoint-publishingactivate-damnit\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Brainlitter","item":"https:\/\/regroove.ca\/brainlitter\/"},{"@type":"ListItem","position":2,"name":"Sometimes you need to tell SharePoint Publishing\u2013\u201cActivate Damnit!\u201d"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/brainlitter\/#website","url":"https:\/\/regroove.ca\/brainlitter\/","name":"Brainlitter - Inside the mind of Sean Wallbridge","description":"Dad. Husband. Drummer. Learner of Things.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","caption":"Sean Wallbridge"},"url":"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/1891"}],"collection":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/comments?post=1891"}],"version-history":[{"count":0,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/1891\/revisions"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media?parent=1891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/categories?post=1891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/tags?post=1891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}