Article ID: 2502671 - View products that this article applies to.
When a user tries to configure Microsoft Dynamics CRM Client for Outlook by using the Configuration Wizard, the user receives the following error message:
There is a problem communicating with the Microsoft Dynamics CRM Server. The server might be unavailable. Try again later. If the problem persists, contact your administrator.
This issue may occur for any of the following causes:
For Causes 1, 2, and 3
For Cause 4
On the Microsoft Dynamics CRM 2011 web server, open IIS Manager, and limit the CRM Website to one http binding or one https binding, or both. To do this, follow these steps:
Note The binding that should remain is the binding that is defined in the Deployment Manager. To check for the correct URLs, open the Deployment Manager, right-click Microsoft Dynamics CRM, select Properties, and then click the Web Address tab.
Note If Internet Facing Deployment (IFD) is used, the certificate that matches your IFD settings should be retained.
Outlook configuration trace (On Error) for Cause 1, 2, and 3
Exception rethrown at :
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
at Microsoft.Xrm.Sdk.Client.DiscoveryServiceProxy.Execute(DiscoveryRequest request)
at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.DeploymentInfo.LoadOrganizations(AuthUIMode uiMode)
at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode)
02:45:29| Error| Error connecting to URL: https://dev.crm5.dynamics.com/XRMServices/2011/Discovery.svc
Exception: System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: An error occurred when verifying security for the message.
--- End of inner exception stack trace
Microsoft CRM Server platform trace (On Error) for Cause 4
Error: The service '/XRMServices/2011/Discovery.svc' cannot be activated due to an exception during compilation. The exception message is: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
Parameter name: item.
Contact us for more help
Connect with Answer Desk for expert help.