Thursday, February 25, 2016

ILM Configuration: The miissku.exe process exited with error code -2146232832. Error. - SharePoint 2013


ILM Configuration: The miissku.exe process exited with error code -2146232832. Error.

ILM Configuration: The ValidateMiisEncryptionKey process returned False.
 

UserProfileApplication.SynchronizeMIIS: Failed to configure MIIS pre database, will attempt during next rerun.

Synchronization database is already initialized. Importing the encryption key for the database into the registry


 

Run as Administrator SharePoint Management Shell


$sync_db = "Sync DB"
$ups_service_app_name = "User Profile Service Application"



net stop sptimerv4
$syncdb=Get-SPDatabase | where {$_.Name -eq $sync_db}
$syncdb.Unprovision()
$syncdb.Status='Offline'
$ups = Get-SPServiceApplication  | where {$_.Displayname -eq $ups_service_app_name }
$ups.ResetSynchronizationMachine()
$ups.ResetSynchronizationDatabase()
$syncdb.Provision()
net start sptimerv4

Start the UserProfileSyncService again


Ref: http://blogs.technet.com/b/sp/archive/2013/05/29/http-www-blogger-com-blogger-g-blogid-8070685728411204795-editor-target-post-postid-706076184673021818-onpublishedmenu-overviewstats-onclosedmenu-overviewstats-postnum-23-src-postname.aspx

Friday, February 5, 2016

Specified host is not present in cluster - Distributed cache



Use-CacheCluster
Get-AFCacheHostConfiguration -ComputerName ComputerName -CachePort "22233"



If you receive a message stating “Specified host is not present in cluster” one of two things occurred; you misspelt the ComputerName (or port), or the computer is in fact not present in the cluster.


Re-registering a computer is simple enough, from that Management Shell, execute the following cmdlet:



Register-CacheHost –Provider "ProviderName" –ConnectionString "ConnectionString" –Account “NT Authority\Network Service” –CachePort 22233 –ClusterPort 22234 –ArbitrationPort 22235 –ReplicationPort 22236 –HostName "ComputerName"

Note: Provider and ConnectionString parameters are located in the HKLM registry hive under Software\Microsoft\ AppFabric\v1.0\Configuration



Again start command:

Use-CacheCluster
Get-AFCacheHostConfiguration -ComputerName ComputerName -CachePort "22233"