Quick Solution 8: The located assembly's manifest definition does not match the assembly reference while managing User Profile Service

Symptoms

After started the User Profile Synchronization Service, when you try to manage the User Profile Service, you encounter an error, and the following error is logged in the SharePoint Unified Logging Service (ULS).

Error Message 

<date time>       w3wp.exe (0x1F88)                       0x1AA4 SharePoint Portal Server              User Profiles             
     et8j        High                    UserProfileServiceUserStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT:0x80131040)    
at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)    
at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxyuserProfileApplicationProxy, Guid partitionID)    
at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)

Causes 

The issue is caused by that, the UserProfileConfigManager adds a reference to Microsoft.ResourceManagement, but the located Microsoft.ResourceManagement assembly's manifest definition does not match the assembly reference.

 

Solutions

To fix the issue, please restart the Internet Information Server(IIS) by running command iisreset.