This issue was seen while working a Global Address List (GalSync) solution where we are provisioning mail-enabled contacts to Microsoft Exchange 2010. You can see in the Synchronization Service Manager console, that the Export step fails with a stopped-dll-exception
*NOTE: It is important to note, that you can see this same issue when doing an export to Exchange 2010 with an Active Directory Management Agent solution.
The Synchronization Service Engine utilizes WinRM ( Windows Remote Management ) to remotely execute a Microsoft Exchange 2010 PowerShell Script called Update-Recipient. In this case, WinRM ( Windows Remote Management ) is receiving the error message being
sent back from the Microsoft Exchange 2010 PowerShell Script Update-Recipient.
Update-Recipient is failing to update the mail-enabled contact object, because the mail-enabled contact object is read-only.
There are three possible resolutions here:
Here are some of the troubleshooting steps utilized in this case:
Executing these steps, you may end up with an error similar to this one.