Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you try to configure the Microsoft Dynamics CRM Client for Outlook: "The LDAP server is unavailable"


View products that this article applies to.

Symptoms

When you try to configure the Microsoft Dynamics CRM Client for Microsoft Office Outlook, you receive the following error message:
The LDAP server is unavailable.

The error in the configuration log is as follows:

Error connecting to URL:  https://dev.crm.dynamics.com/XRMServices/2011/Discovery.svc  Exception: System.DirectoryServices.AccountManagement.PrincipalServerDownException: The server could not be contacted. ---> System.DirectoryServices.Protocols.LdapException: The LDAP server is unavailable.    at System.DirectoryServices.Protocols.LdapConnection.Connect()    at System.DirectoryServices.Protocols.LdapConnection.SendRequestHelper(DirectoryRequest request, Int32& messageID)    at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)    at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request)    at System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties) 

↑ Back to the top


Cause

This issue may occur in one of the following scenarios in which the LDAP query will fail:
  • (CRM Online) The user's computer is joined to a domain, and the user is logged in to the computer as a domain account. However, the DC is unavailable. (The user is off the domain.)
  • (CRM Online) The user is on the domain. However, they are in a multiple-domain environment in which the LDAP query service is on an inaccessible domain.
  • (On-Premise) The user has an IFD environment. However, their DC or LDAP query service is unavailable during the configuration.

↑ Back to the top


Resolution

This problem is fixed in Hotfix 2645912 for Microsoft Dynamics CRM 2011.

Installation information

Windows Update Installation
Available December 13, 2011

To automatically install Hotfix 2645912 for Microsoft Dynamics CRM 2011, you can use Windows Update. You can also set Windows to automatically install recommended updates. This can address noncritical problems and help improve your computing experience. Optional updates are not downloaded or installed automatically.

To learn more about the kinds of updates that Microsoft publishes, visit the following Microsoft websites:

To Install Hotfix 2645912 for Microsoft Dynamics CRM 2011 by using Windows Update, follow these steps:
  1. Click Start, and then type Update in the Start Search box. In the list of results, click Windows Update.
  2. In the navigation pane, click Check for updates, and then wait while Windows checks for the latest updates for your computer.
  3. If you receive a message that states that important updates are available or that prompts you to review important updates, you can view and select the important updates to install.
  4. In the list, click any important update for more information, click to select the check box for any updates that you want to install, and then click OK.
  5. Click Install updates.
  6. Read and accept the license terms, and then click Finish (if the update requires this action). If you are prompted for an administrator password, type the password. If you are prompted for a confirmation, provide the confirmation.

Manual installation

To manually install Hotfix 2645912 for Microsoft Dynamics CRM 2011, follow these steps:
  1. Visit the following Microsoft Update catalog website:
  2. In the Search box, type 2645912, and then click Search.
  3. Click Add to add the update to the basket.
  4. Click Download.
  5. Click Browse, specify the folder to which you want to download the update, and then click OK.
  6. Click Continue, and then click I Accept to accept the Microsoft Software License Terms.
  7. When the update is downloaded to the location that you specified, click Close.
For more information about the Microsoft Update catalog, click the following article number to view the article in the Microsoft Knowledge Base: 323166How to download updates that include drivers and hotfixes from the Windows Update Catalog

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kbautohotfix, kbqfe, kbhotfixserver, kbfix, kb

↑ Back to the top

Article Info
Article ID : 2645912
Revision : 4
Created on : 3/30/2017
Published on : 3/30/2017
Exists online : False
Views : 268