Thursday, January 19, 2017

Resolved - Failed to configure MIIS post database

After installing SharePoint 2013 SP1 CU 201609 on DEV server, "User Profile Synchronization Service" stopped working. ULS log shows the error message below.

UserProfileApplication.SynchronizeMIIS: Failed to configure MIIS post database, will attempt during next rerun. Exception: System.Configuration.ConfigurationErrorsException: ERR_START_SERVICE    
 at Microsoft.Office.Server.UserProfiles.Synchronization.ILMPostSetupConfiguration.ValidateConfigurationResult(UInt32 result)    
 at Microsoft.Office.Server.Administration.UserProfileApplication.SetupSynchronizationService(ProfileSynchronizationServiceInstance profileSyncInstance).

I tried all possible solutions through online research, but, none of them works.

In the end, I submitted a Microsoft support ticket.  It turns out that we have to remove "Forefront Identity Manager Service" from the dependency of windows service "FIMSynchronizationService"


Create a ".reg" file, then add the text below to it, then merge this reg file into the Windows of SharePoint server.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FIMSynchronizationService]
"DependOnService"=hex(7):57,00,69,00,6e,00,6d,00,67,00,6d,00,74,00,00,00,00,00

Then reboot the server. Below is the result.



Now we can start the SharePoint service instance "User Profile Synchronization Service".

I hope this post can save you some headache.


PS: Microsoft support team said they never got this issue before. So I assume it only happens when SharePoint and Database are installed on the same server.

5 comments:

  1. Hi Eric, thanks for posting this info. I'm having same issue, can you pls elaborate the step for merging the .reg file into Windows of SharePoint server. Thanks.

    ReplyDelete
    Replies
    1. Hi Divya, if you're still struggling with this just open that registry entry and remove the line that references FIM from the ValueData field

      Delete
    2. Eric Fang'S Sharepoint Boat: Resolved - Failed To Configure Miis Post Database >>>>> Download Now

      >>>>> Download Full

      Eric Fang'S Sharepoint Boat: Resolved - Failed To Configure Miis Post Database >>>>> Download LINK

      >>>>> Download Now

      Eric Fang'S Sharepoint Boat: Resolved - Failed To Configure Miis Post Database >>>>> Download Full

      >>>>> Download LINK H0

      Delete
  2. Thanks Eric! Works a treat, saved me a lot of pain.

    ReplyDelete
  3. Eric Fang'S Sharepoint Boat: Resolved - Failed To Configure Miis Post Database >>>>> Download Now

    >>>>> Download Full

    Eric Fang'S Sharepoint Boat: Resolved - Failed To Configure Miis Post Database >>>>> Download LINK

    >>>>> Download Now

    Eric Fang'S Sharepoint Boat: Resolved - Failed To Configure Miis Post Database >>>>> Download Full

    >>>>> Download LINK 1R

    ReplyDelete