EMC error: An error caused a change in the current set of domain controllers.

When opening Exchange Manangemnt Console you get the following error:
An error caused a change in the current set of domain controllers. It was running the command ‘Get-OrganizationConfig’.

In the application log you get the following error entries:
Event ID: 4
Source: MSExchange Configuration Cmdlet – Remote Mamagment
General: Task Get-ExchangeServer writing error when processing record of index 0. Error: Microsoft.Exchange.Data.Directory.SuitabilityDirectoryException: An Active Directory error 0x51 occurred when trying to check the suitability of server ‘dc.mydomain.com’. Error: ‘Active directory response: The LDAP server is unavailable.’ —>

Event ID: 5
Source: MSExchange Configuration Cmdlet – Remote Mamagment
General: Task Get-ExchangeServer throwing terminating exception at stage Microsoft.Exchange.Data.Directory.ADTransientException: An error caused a change in the current set of domain controllers..

This happend to me after a domain controller was removed and replaces with a new one on the same site as the Exchange 2010 server.
Solution:
To solve this problem close the EMC. Delete the file  C:\Users\%username%\AppData\Roaming\Microsoft\MMC\Exchange Management Console. Open EMC again and you shold not get the error message again.

Comments