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.

Unable to configure the Microsoft Dynamics CRM for Outlook client. (The server might be unavailable. {1}{0})


Symptom

Errors when configuring the Microsoft Dynamics CRM for Outlook client, "There is a problem communicating with the Microsoft Dynamics CRM server. The server might be unavailable. {1}{0}"  

Trying to open Credential Manager in the Control Panel will result in the following error.  


Unable to save credentials. To save credentials in the vault, check your computer configuration.



Error Code: 0x80070520


Error Message: A Specified login session does not exist. It may already have been terminated.

↑ Back to the top


Cause

This can occur if the Credential Manager was disabled either via Group Policy or directly in the registry:


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa


ValueName: DisableCredMan


Value Data: 1

↑ Back to the top


Resolution


Changing the value Data from 1 to 0, or removing the Value Name entirely will allow the Outlook client to configure correctly as well as allowing the successful opening of the Credential Manager.

↑ Back to the top


More Information

Below is an example error from the log file:

20:11:49|   Info| Error connecting to URL: {0} Exception: {1}| https://contoso.contoso.com/XRMServices/2011/Organization.svc, Microsoft.Crm.CrmException: Server was unable to process request.
   at Microsoft.Crm.CredentialManager.WriteCredentials(Uri target, Credential userCredentials, Boolean allowPhysicalStore)
   at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvider`1.set_Credentials(Credential value)
   at Microsoft.Crm.Outlook.ClientAuth.ClientAuthUtility.CopyAuthenticationContext[TService1,TService2](IClientAuthProvider`1 authenticatedProvider, IClientAuthProvider`1 nonAuthenticatedProvider)
   at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow, IClientAuthProvider`1 authenticatedProvider)
   at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.InternalLoadOrganizations(DataCollection`1 orgs, AuthUIMode uiMode, Control parentWindow)

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2736267
Revision : 1
Created on : 1/7/2017
Published on : 8/15/2015
Exists online : False
Views : 87