Sunday, 14 September 2014

SharePoint 2010 to SharePoint 2013 upgrade errors

I'm in the process of upgrading SharePoint 2010 SP1 single server farm to SharePoint 2013 SP1 (+July 2014 CU). I've been following Microsoft TechNet articles step-by-step and so far have found few mistakes in the documentation that I want to point out as well as some errors in the upgrading process.

Error #1 - Upgrading Secure Store service application database ends up with an error


Update-SPSecureStoreApplicationServerKey -Passphrase mystrongfarmpassphrase -ServiceApplicationProxy $sssp -Verbose


VERBOSE: Leaving BeginProcessing Method of Update-SPSecureStoreApplicationServerKey.

Update-SPSecureStoreApplicationServerKey : An internal database error occurred in the Secure Store Shared Service.

Please contact your administrator.

At line:1 char:1

+ Update-SPSecureStoreApplicationServerKey -Passphrase mystrongfarmpassphrase -S ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidData: (Microsoft.Offic...cationServerKey:SPUpdateSPSecur...cationServerKey) [Upda

   te-SPSecureStoreApplicationServerKey], SecureStoreServiceException

    + FullyQualifiedErrorId : Microsoft.Office.SecureStoreService.PowerShellCmdlet.SPUpdateSPSecureStoreApplicationServerKey


Solution: Add the service applications application pool identity account as db_owner of the Secure Store database.


Error #2 - Upgrading User Profile Service Application - errors in syntax

In the documentation here, the syntax for the step "To import the encryption key for User Profile service application" is incorrect. It should be this:

miiskmu.exe /i Path {0E19E162-827E-4077-82D4-E6ABD531636E}

instead of this

miiskmu.exe /e Path {0E19E162-827E-4077-82D4-E6ABD531636E}


Error #3 - Upgrading User Profile Service Application - errors in step ordering

 In the documentation here, the steps are ordered in incorrect order. The correct order is this:

  • To import the encryption key for User Profile service application 
  • Start the User Profile Synchronization service
instead of this
  • Start the User Profile Synchronization service 
  • To import the encryption key for User Profile service application

 If you don't do the key import first, your UPS service provisioning will fail.




No comments:

Post a Comment