Hi.
Im having problem with staring User Profile Synchronization Service.
When i use ULSViewer i get the following:
ILM Configuration: Validating account.
ILM Configuration: Validating the system groups
ILM Configuration: Setting up WMI
ILM Configuration: Setting required permissions
ILM Configuration: Create install config file
ILM Configuration: Update source project
ILM Configuration: Changing service account credentials
ILM Configuration: Setting policy for service account
ILM Configuration: Configuring database
And then the following error:
UserProfileApplication.SynchronizeMIIS: Failed to configure MIIS post database, will attempt during next rerun. Exception: System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at Microsoft.Office.Server.UserProfiles.Synchronization.ILMPostSetupConfiguration.ConfigureMiisStage2()
at Microsoft.Office.Server.Administration.UserProfileApplication.SetupSynchronizationService(ProfileSynchronizationServiceInstance profileSyncInstance).
Env: One Sharepoint 2013 Enterprise Server (Sept CU) with databases on a dedicated SQL 2012 Server.
I have done/checked:
Farm account permissions in AD/locally/UPA/SQL.
Sync account permissions.
Cleared Config Cache.
Checked SyncDatabaseID in FIMSyncService - Parameters in regedit.
Delete/recreate UPA multiple times with GUI.
I found this article http://marclognoul.eweb703.discountasp.net/itblog-en/post/2013/08/09/SharePoint-2013-User-Profile-Service-Provisioning-vs-Custom-PowerShell-Profile.aspx but cant find a profile in either C:\Windows\System32\WindowsPowerShell\v1.0 or C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\POWERSHELL
Any help is appreciated.
Simon