none
Search not working in site collections migrated from MOSS 2007 to SharePoint Server 2013

    Question

  • I have few site collections migrated from MOSS 2007 to SharePoint Server 2013 using database attach (first to 2010 and then to 2013).

    When I search for anything in these migrated sites, I get "Nothing here matches your search".

    Checked the crawl log for these sites and see this error for all items.

    The content processing component failed to process the security descriptor of the item. ( The input ACL is invalid (1210 / 2072).; ; SearchID = Some-Random-GUID )

    Search works fine in newly created sites in 2013 environment.

    Please help.

    Saturday, April 12, 2014 1:16 AM

Answers

  • Hello

    Did you migrate your users to claims when you migrated the databases?

    $wa = Get-SPWebApplication http://yourdom.com
    $wa.MigrateUsers($true)
    $wa.ProvisionGlobally()

    I assume the sites that work and the migrated content are in the same database?


    MCITP-EA | "Never test how deep the water is with both feet"

    • Marked as answer by Halc Saturday, April 12, 2014 10:22 PM
    Saturday, April 12, 2014 12:56 PM

All replies

  • Hello

    Did you migrate your users to claims when you migrated the databases?

    $wa = Get-SPWebApplication http://yourdom.com
    $wa.MigrateUsers($true)
    $wa.ProvisionGlobally()

    I assume the sites that work and the migrated content are in the same database?


    MCITP-EA | "Never test how deep the water is with both feet"

    • Marked as answer by Halc Saturday, April 12, 2014 10:22 PM
    Saturday, April 12, 2014 12:56 PM
  • Thanks Ryan.

    Migrated the users to claims, run full crawl and search is now working in migrated sites.

    Saturday, April 12, 2014 10:22 PM
  • A few notes on this you might find useful:

    • Before executing the script to migrate users, be sure that your web application has been configured for claims-based authentication.  To do this go: Central Administration > Application Management > Manage web applications > [select the web appliction] >  Authentication Providers button on ribbon.
    • If it isn't, making it so is easy.  Just execute this script:
      $WebAppName = "http://[your web application]"
      $wa = get-SPWebApplication $WebAppName
      $wa.UseClaimsAuthentication = $true
      $wa.Update()
      Execute this first before migrating users.
    • If after executing the script to migrate users and/or the script to convert the web application to claims, you experience an HTTP 500 error or the "Sorry, this site hasn't been shared with you" message when connecting to it, try these things: 1) restart IIS and 2) restart the security token service application pool.

    Wednesday, June 03, 2015 2:29 PM