Fix TCP error code 10061 in SharePoint 2010 User Profile Service
![](https://markimarta.com/wp-content/uploads/2014/01/sharepointlogo-150x150.jpg)
In SharePoint timer job history I have noticed that there's the error in starting User Profile synchronization:
Could not connect to http://spsrv:5725/ResourceManagementService/MEX. TCP error code 10061: No connection could be made because the target machine actively refused it <ip-adress:port>.
In EventViewer there were some records like this:
Detection of product '{90140000-104C-0000-1000-0000000FF1CE}', feature 'PeopleILM', component '{1C12B6E6-898C-4D58-9774-AAAFBDFE273C}' failed. The resource 'C:\Program Files\Microsoft Office Servers\14.0\Service\Microsoft.ResourceManagement.Service.exe' does not exist.
![Error 10061 in Event Viewer](https://markimarta.com/wp-content/uploads/2015/12/eventvwr-300x86.png)
Error 10061 in Event Viewer
Solution.
Open services.msc. Be sure that both Forefront Identity Manager Service and Forefront Identity Manager Synchronization Service are started. Start them if they are stopped.
![Start Forefront Identity Manager Service and Forefront Identity Manager Synchronization Service](https://markimarta.com/wp-content/uploads/2015/12/servicesmsc.gif)
Start Forefront Identity Manager Service and Forefront Identity Manager Synchronization Service