{"id":699,"date":"2011-03-28T00:12:00","date_gmt":"2011-03-28T00:12:00","guid":{"rendered":"https:\/\/brainlitter.itgroove.net\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/"},"modified":"2011-03-28T00:12:00","modified_gmt":"2011-03-28T00:12:00","slug":"fixing-sharepoint-2010-foundation-search-after-a-domain-migration","status":"publish","type":"post","link":"https:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/","title":{"rendered":"Fixing SharePoint 2010 Foundation Search after a domain migration"},"content":{"rendered":"<div class=\"ExternalClass9CE4BF5AA9E34A41BB5AB96D42536AD4\">\n<p>Ah, the life I lead. It&#8217;s 11:49pm on a Sunday night and I&#8217;m tired. This will be an ugly and sporadic post, as I want to go to bed\u2026 But I figured I&#8217;d better share before this drops out of my head (ala Brainlitter). Here&#8217;s what happened today. <\/p>\n<p>\u00a0<\/p>\n<h2>The Goal <\/h2>\n<p>Customer wanted to migrate SharePoint 2010 Foundation from one domain to another. I had my task list all prepped out. Heck, I&#8217;ll even share its basic skeleton with you (this is by no means complete, but I didn&#8217;t want to forget anything): <\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"\/brainlitterarchive\/Lists\/Photos\/032811_0711_FixingShare1.png\"> <\/p>\n<p><span style=\"color:#4f81bd;font-size:9pt\"><strong>Figure 1 : the above is by no means complete, just my little notes to myself, in OneNote of course \ud83d\ude09 <\/strong><\/span><\/p>\n<p>\u00a0<\/p>\n<p>They were collapsing a few domains into a new single domain. <\/p>\n<p>\u00a0<\/p>\n<h2>The Challenges <\/h2>\n<p>First off (not recommended), when creating a new domain and migrating stuff to it, be sure you use a new domain name. The company had chosen to change their old DNS domain name from CorporateX.net (faked example) to CorporateX.com. But they decided to go with the same downlevel\/NT domain name of CorporateX (this was a mistake I think, as it caused untold grief). <\/p>\n<p>\u00a0<\/p>\n<p>So I had a number of challenges to work with, no less, trying to trick SharePoint into believing that CORPORATEXSPFarm was indeed a different account than CORPORATEXSPFarm\u2026 but that is a story for another time. This story is about after getting the domain all fixed <span style=\"color:red\"><em>(by the way, this is the syntax needed to get the farm to play nice again using the farm account &#8211; stsadm -o updatefarmcredentials -userlogin SOMEDOMAINSOMEACCOUNT -password XXXXXXXXXX)<\/em> <\/span>and getting search rolling again as I had the following errors to work with\u2026 <\/p>\n<p>\u00a0<\/p>\n<h2>Foundation Search Errors after the Domain Move <\/h2>\n<p>\u00a0<\/p>\n<p>No matter what I tried to do, when trying to start the SharePoint Foundation Search service, I got the following\u2026 <\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"\/brainlitterarchive\/Lists\/Photos\/032811_0711_FixingShare2.png\"> <\/p>\n<p><span style=\"color:#4f81bd;font-size:9pt\"><strong>Figure 2 : Some or all identity references could not be translated <\/strong><\/span><\/p>\n<p>\u00a0<\/p>\n<h2>The Resolution (for me anyways) <\/h2>\n<p>\u00a0<\/p>\n<p>I did the following things, of which I believe all helped in the resolution of the matter though if I had time to lab things, I think I could trim this list. If you are Googling this late at night, have backups, do so at your own risk and only if you understand the ramifications, etc. I.e. this comes with no warranty, expressed, implied or decaffeinated\u2026 <\/p>\n<p>\u00a0<\/p>\n<p>By the way, I realize STSADM commands are deprecated in SharePoint 2010 but I couldn&#8217;t find an equivalent for doing what I needed to do, particularly on a tired mind. Besides, TechNet says IISRESET is deprecated and no longer used and we ALL know that isn&#8217;t true in the SharePoint world. \ud83d\ude42 <\/p>\n<p>\u00a0<\/p>\n<p>I migrated the original SharePoint Server Search Account to the new one I wanted to use: <\/p>\n<p><span style=\"font-family:Courier New;color:#c0504d;font-size:10pt\">stsadm \u2013o migrateuser \u2013oldlogin CORPORATEXSPSERVICES \u2013newlogin CORPORATEX SP2010SERVICES \u2013ignoresidhistory <\/span><\/p>\n<p>\u00a0<\/p>\n<p>I forcefully removed SharePoint Foundation Search (This command yanks the search database and sets it back to needing to be configured) <\/p>\n<p><span style=\"font-family:Courier New;color:#c0504d;font-size:10pt\">stsadm.exe -o spsearch -action stop <\/span><\/p>\n<p>\u00a0<\/p>\n<p>That didn&#8217;t work (at least yet) until I used the following to remap\/tell SharePoint Foundation Search which accounts to use, so I could even begin to seize control <\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family:Courier New;color:#c0504d;font-size:10pt\">stsadm.exe -o spsearch -farmserviceaccount CORPORATEX SP2010SERVICES -farmservicepassword No_I&#8217;m_Not_Giving_You_The_Password_:) <\/span><\/p>\n<p><span style=\"font-family:Courier New;color:#c0504d;font-size:10pt\">stsadm.exe -o spsearch -farmcontentaccessaccount CORPORATEX SP2010CONTENTACCESS -farmcontentaccesspassword No_I&#8217;m_Not_Giving_You_The_Password_:) <\/span><\/p>\n<p>\u00a0<\/p>\n<p>Ah, that&#8217;s better. Now I could actually attempt to start the service in the Central Admin GUI again (before it would just give the above error re: &#8216;some or all identity references could not be translated&#8217; <\/p>\n<p>\u00a0<\/p>\n<p>So I ran this again now that I was in control\u2026 <\/p>\n<p><span style=\"font-family:Courier New;color:#c0504d;font-size:10pt\">stsadm.exe -o spsearch -action stop <\/span><\/p>\n<p>\u00a0<\/p>\n<p>And voila, the next time I went to start SharePoint Foundation Search Service and define a new Service Account and Content Access Account, it started as expected <\/p>\n<p>\u00a0<\/p>\n<p>Yeesh. Gnight. Seriously, if I make it so you have a shorter night than I did, you gotta buy me a pint dude. <a href=\"https:\/\/itgroove42.wufoo.com\/forms\/beer-me\/\">https:\/\/itgroove42.wufoo.com\/forms\/beer-me\/<\/a> <\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ah, the life I lead. It&#8217;s 11:49pm on a Sunday night and I&#8217;m tired. This will be an ugly and sporadic post, as I want to go to bed\u2026 But I figured I&#8217;d better share before this drops out of my head (ala Brainlitter). Here&#8217;s what happened today. \u00a0 The Goal Customer wanted to migrate &hellip; <a href=\"https:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/\"><\/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":[14,334],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Fixing SharePoint 2010 Foundation Search after a domain migration - 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=\"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fixing SharePoint 2010 Foundation Search after a domain migration - Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"og:description\" content=\"Ah, the life I lead. It&#8217;s 11:49pm on a Sunday night and I&#8217;m tired. This will be an ugly and sporadic post, as I want to go to bed\u2026 But I figured I&#8217;d better share before this drops out of my head (ala Brainlitter). Here&#8217;s what happened today. \u00a0 The Goal Customer wanted to migrate &hellip;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/\" \/>\n<meta property=\"og:site_name\" content=\"Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"article:published_time\" content=\"2011-03-28T00:12:00+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\":\"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/\",\"url\":\"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/\",\"name\":\"Fixing SharePoint 2010 Foundation Search after a domain migration - Brainlitter - Inside the mind of Sean Wallbridge\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\"},\"datePublished\":\"2011-03-28T00:12:00+00:00\",\"dateModified\":\"2011-03-28T00:12:00+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brainlitter\",\"item\":\"https:\/\/regroove.ca\/brainlitter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fixing SharePoint 2010 Foundation Search after a domain migration\"}]},{\"@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":"Fixing SharePoint 2010 Foundation Search after a domain migration - 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":"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/","og_locale":"en_US","og_type":"article","og_title":"Fixing SharePoint 2010 Foundation Search after a domain migration - Brainlitter - Inside the mind of Sean Wallbridge","og_description":"Ah, the life I lead. It&#8217;s 11:49pm on a Sunday night and I&#8217;m tired. This will be an ugly and sporadic post, as I want to go to bed\u2026 But I figured I&#8217;d better share before this drops out of my head (ala Brainlitter). Here&#8217;s what happened today. \u00a0 The Goal Customer wanted to migrate &hellip;","og_url":"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/","og_site_name":"Brainlitter - Inside the mind of Sean Wallbridge","article_published_time":"2011-03-28T00:12:00+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":"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/","url":"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/","name":"Fixing SharePoint 2010 Foundation Search after a domain migration - Brainlitter - Inside the mind of Sean Wallbridge","isPartOf":{"@id":"https:\/\/regroove.ca\/brainlitter\/#website"},"datePublished":"2011-03-28T00:12:00+00:00","dateModified":"2011-03-28T00:12:00+00:00","author":{"@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/regroove.ca\/brainlitter\/2011\/03\/28\/fixing-sharepoint-2010-foundation-search-after-a-domain-migration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Brainlitter","item":"https:\/\/regroove.ca\/brainlitter\/"},{"@type":"ListItem","position":2,"name":"Fixing SharePoint 2010 Foundation Search after a domain migration"}]},{"@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\/699"}],"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=699"}],"version-history":[{"count":0,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/699\/revisions"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media?parent=699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/categories?post=699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/tags?post=699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}