Issue:
- Stopped-extension-dll-exceptions in User Profile Sync
- FIM Synchroniztion issue (Event ID: 6050, 6398).
Solution Steps
- Click on Management Agents right click on MOSS-UserProfile and select Properties.
- Click on Properties from Action bar on the right side
- Select Configure Connection Information
- Ensure that Connect to field starts with the correct URL to Central Administration Website: direct://<central admin url>:<central admin port>/
power shell script : http://www.sharepointblues.com/2013/02/04/stopped-extension-dll-exceptions-in-user-profile-sync/