andrewt2m
a year ago
We see this:

UserPostedImage

We cannot configure the client but our server is definitely the latest version of CRM 2016 server

What should we do?

Logfile:

Quote:

12:25:12| Info| === Microsoft Dynamics 365 for Outlook Configuration Wizard logging started: 16/08/2021 12:25:12 ===

12:25:12|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Initialize

12:25:12| Info| Client Configuration Wizard Version : 9.0.0002.0426

12:25:12| Info| Client Configuration Wizard LanguageID : 1033

12:25:12|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized

12:25:12| Info| Query all rows in profile table

12:25:12| Info| Outlook is initialized

12:25:12|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized

12:25:13| Info| Client Configuration Wizard Running Mode : Normal

https://crm.domain.suffix/sircles/ 

https://crm.domain.suffix/sircles/XRMServices/2011/Organization.svc  to oAuth failed.

https://crm.domain.suffix/XRMServices/2011/Discovery.svc  to oAuth.

https://crm.domain.suffix/XRMServices/2011/Discovery.svc  to oAuth failed.

12:28:33|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm..ctor

12:28:33|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo

12:28:33|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetAllCRMOrgsInOutlookProfile

12:28:33| Info| Logon mapi store

12:28:33| Info| Logon admin service

12:28:33|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds

12:28:33| Info| Query all rows in msg service table

12:28:33|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds

12:28:34|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded

12:28:34|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded

12:28:34|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerInfo.ServerInfo

12:28:34| Info| Server Info :

12:28:34| Info| OrganizationId : 7c88b8aa-d035-48ee-8d4d-db02ae91fb12

12:28:34| Info| OrganizationFriendlyName : sircles

12:28:34| Info| OrganizationName : sircles

12:28:34| Info| DisplayName : sircles

https://crm.domain.suffix/sircles/XRMServices/2011/Organization.svc 

https://crm.domain.suffix/sircles/ 

https://crm.domain.suffix/XRMServices/2011/Discovery.svc 

https://crm.domain.suffix/XRMServices/2011/Discovery.svc 

12:28:34| Info| IsPrimary : True

12:28:34| Info| UserId : e6fed2c3-b4fa-dd11-b871-0015178f3ec2

12:28:35| Info| Exception - Addin is now disabled

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerInfo.ServerInfo

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Execute

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionList

12:28:35| Info| Action type : Delete.

12:28:35| Info| Add PrimaryConfigurator.

12:28:35| Info| Add OrganizationRepositoryConfigurator.

12:28:35| Info| Add AddinConfigurator.

12:28:35| Info| Add GlobalRepositoryConfigurator.

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionList

12:28:35| Info| Get action list.

12:28:35| Info| Get action total progress : 25.

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.GetActionEntry

12:28:35| Info| Action command type : Delete.

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Unconfigure

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Unconfigure

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.RemoveContextValues

12:28:35| Info| Delete org-based registry keys.

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.RemoveContextValues

12:28:35| Info| Remove org-based registry values.

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OrganizationRepositoryConfigurator.Unconfigure

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Unconfigure

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveFixedRegistryValuesAction

12:28:35| Info| Removed the form region for IPM.Note in Office registry hive.

12:28:35| Info| Removed the form region for IPM.Appointment in Office registry hive.

12:28:35| Info| Removed the form region for CRM.Task in Office registry hive.

12:28:35| Info| Removed the form region for CRM.Contact in Office registry hive.

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveFixedRegistryValuesAction

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveIntegrationKey

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveIntegrationKey

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmRibbonAddinRegistryValuesAction

12:28:35| Info| Removed the crm ribbon addin keys under Software\Microsoft\Office\Outlook\Addins\crmaddin.RibbonAddin

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction

12:28:35| Info| Deleted the resiliency keys under Software\Microsoft\Office

12:28:35| Info| Deleted the resiliency keys under Software\Microsoft\Office

12:28:35| Info| Deleted the resiliency keys under Software\Microsoft\Office

12:28:35| Info| Deleted the resiliency keys under Software\Microsoft\Office

12:28:35| Info| Deleted the resiliency keys under Software\Microsoft\Office

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmAddinOfficeResiliencyRegValuesAction

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.RemoveCrmRibbonAddinRegistryValuesAction

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.AddinConfigurator.Unconfigure

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Unconfigure

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.StopApplicationHosterAction

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.StopApplicationHosterAction

12:28:35| Info| Stopped application hoster.

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveApplicationhosterSettings

12:28:35| Info| Deleted Application hoster registry value.

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveApplicationhosterSettings

12:28:35| Info| Removed application hoster settings.

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.Delete

12:28:35|Warning| Error deleting file C:\Users\simon.cooper\AppData\Local\Microsoft\MSCRM\Client\CrmCache.sdf: The process cannot access the file 'C:\Users\simon.cooper\AppData\Local\Microsoft\MSCRM\Client\CrmCache.sdf' because it is being used by another process.. Marking it for the deletion upon the reboot.

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator+DeleteUserApplicationFilesAction.Delete

12:28:35| Info| Deleted user application files.

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveSQMRegkeysAndDirectory

12:28:35| Info| Removed SQM registry keys.

12:28:35| Info| Removed SQM queue directory.

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveSQMRegkeysAndDirectory

12:28:35| Info| Removed SQM registry key values and directory.

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveConfigurationRegistryValuesAction

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveLaptopClientRegistryValues

12:28:35| Info| Deleted Crm allow list key.

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveLaptopClientRegistryValues

12:28:35| Info| Removed Laptop client registry keys.

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RemoveConfigurationRegistryValuesAction

12:28:35| Info| Removed Crm client registry keys.

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.RestoreV4RegistryKeys

12:28:35| Info| No V4 backup registry key found.

12:28:35| Info| Backup v4 registry keys.

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.GlobalRepositoryConfigurator.Unconfigure

12:28:35| Info| We have successfully removed Microsoft Dynamics 365 for Outlook with sircles.

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Unconfigure

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigEngine.Execute

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.MainForm..ctor

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm_Shown

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.AddServer

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm..ctor

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm..ctor

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls

12:28:35|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls

12:28:35|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData

12:28:48|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click

12:28:48|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection

12:28:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection

12:28:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click

12:28:48|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics

12:28:48|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)

12:28:48|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal

12:28:48| Info| Current UTC date/time from domain.suffix: 08/16/2021 11:28:48

12:28:48| Info| NetApiStatus for NetApiBufferFree: 0

12:28:48| Info| Client UTC Date/Time: 08/16/2021 11:28:48

12:28:48| Info| Difference (in minutes) between client time and actual time: 0.00041781

12:28:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal

12:28:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)

12:28:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics

12:28:48| Info| Attempting IFD (https) org service connection.

https://crm.domain.suffix/XRMServices/2011/Organization.svc  Exception: System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'https://crm.domain.suffix/XRMServices/2011/Organization.svc?wsdl&sdkversion=9'. ---> System.Net.WebException: The operation has timed out

at System.Net.HttpWebRequest.GetResponse()

at System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

--- End of inner exception stack trace ---

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)

at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)

at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(Uri address, MetadataExchangeClientMode mode)

at Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpointMetadata(Type contractType, Uri serviceUri, Boolean checkForSecondary)

at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary)

at Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration..ctor(Uri serviceUri, Boolean enableProxyTypes, Assembly assembly)

at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri, Boolean enableProxyTypes, Assembly assembly)

at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri)

at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthUsingServiceMetadata(Uri endPoint, Uri webEndPoint)

at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)

at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()

at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

12:31:28| Info| IFD (https) org service connection failed. Exception: Metadata contains a reference that cannot be resolved: 'https://crm.domain.suffix/XRMServices/2011/Organization.svc?wsdl&sdkversion=9'.

12:31:28| Info| Attempting IFD discovery service connection.

https://crm.domain.suffix/XRMServices/2011/Discovery.svc  Exception: System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'https://crm.domain.suffix/XRMServices/2011/Discovery.svc?wsdl&sdkversion=9'. ---> System.Net.WebException: The operation has timed out

at System.Net.HttpWebRequest.GetResponse()

at System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

--- End of inner exception stack trace ---

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)

at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)

at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(Uri address, MetadataExchangeClientMode mode)

at Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpointMetadata(Type contractType, Uri serviceUri, Boolean checkForSecondary)

at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary)

at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri, Boolean enableProxyTypes, Assembly assembly)

at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri)

at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthUsingServiceMetadata(Uri endPoint, Uri webEndPoint)

at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)

at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()

at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

12:34:08| Error| Exception : Metadata contains a reference that cannot be resolved: 'https://crm.domain.suffix/XRMServices/2011/Discovery.svc?wsdl&sdkversion=9'. at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)

at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA, Boolean keepUrlIntact, String org)

at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA)

at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsLogic(Boolean forceUI, String deploymentUrl, Boolean tryWIA)

at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizations(Boolean forceUI)

at Microsoft.Crm.Application.Outlook.Config.ServerForm.b__4_0(Object sender, DoWorkEventArgs e)

at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

12:34:08| Error| Exception : The operation has timed out at System.Net.HttpWebRequest.GetResponse()

at System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

http://go.microsoft.com/fwlink/?LinkID=398563&lcid=409&cv=9.0.2.426&opsys=10.0.22000.0&cid=dd3e2357-db2f-4114-bcb2-031bc94f63b5&client=Outlook&error=System.InvalidOperationException%3a80131509%26System.Net.WebException%3a80131509&method=LoadOrganizations%26GetResponse&st=  at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)

at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA, Boolean keepUrlIntact, String org)

at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsInternal[TService](Boolean forceUI, String deploymentUrl, Boolean tryWIA)

at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizationsLogic(Boolean forceUI, String deploymentUrl, Boolean tryWIA)

at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadOrganizations(Boolean forceUI)

at Microsoft.Crm.Application.Outlook.Config.ServerForm.b__4_0(Object sender, DoWorkEventArgs e)

at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)&orgType=CRM On-Premise

12:34:34|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click

12:34:34|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection

12:34:34|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection

12:34:34|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click

12:34:34|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics

12:34:34|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)

12:34:34|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal

12:34:34| Info| Current UTC date/time from domain.suffix: 08/16/2021 11:34:34

12:34:34| Info| NetApiStatus for NetApiBufferFree: 0

12:34:34| Info| Client UTC Date/Time: 08/16/2021 11:34:34

12:34:34| Info| Difference (in minutes) between client time and actual time: 0.000112053333333333

12:34:34|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal

12:34:34|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)

12:34:34|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics

12:34:34| Info| Attempting AD (https) org service connection.

https://crm.domain.suffix/sircles/XRMServices/2011/Organization.svc  Exception: System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'https://crm.domain.suffix/sircles/XRMServices/2011/Organization.svc?wsdl&sdkversion=9'. ---> System.Net.WebException: The operation has timed out

at System.Net.HttpWebRequest.GetResponse()

at System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

--- End of inner exception stack trace ---

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)

at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)

at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(Uri address, MetadataExchangeClientMode mode)

at Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpointMetadata(Type contractType, Uri serviceUri, Boolean checkForSecondary)

at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary)

at Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration..ctor(Uri serviceUri, Boolean enableProxyTypes, Assembly assembly)

at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri, Boolean enableProxyTypes, Assembly assembly)

at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri)

at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthUsingServiceMetadata(Uri endPoint, Uri webEndPoint)

at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)

at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()

at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

12:37:14| Info| AD (https) org service connection failed. Exception: Metadata contains a reference that cannot be resolved: 'https://crm.domain.suffix/sircles/XRMServices/2011/Organization.svc?wsdl&sdkversion=9'.

12:37:14| Info| Attempting IFD (https) org service connection.

https://crm.domain.suffix/XRMServices/2011/Organization.svc  Exception: System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'https://crm.domain.suffix/XRMServices/2011/Organization.svc?wsdl&sdkversion=9'. ---> System.Net.WebException: The operation has timed out

at System.Net.HttpWebRequest.GetResponse()

at System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

--- End of inner exception stack trace ---

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)

at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)

at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(Uri address, MetadataExchangeClientMode mode)

at Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpointMetadata(Type contractType, Uri serviceUri, Boolean checkForSecondary)

at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary)

at Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration..ctor(Uri serviceUri, Boolean enableProxyTypes, Assembly assembly)

at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri, Boolean enableProxyTypes, Assembly assembly)

at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri)

at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthUsingServiceMetadata(Uri endPoint, Uri webEndPoint)

at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)

at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()

at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

12:39:54| Info| IFD (https) org service connection failed. Exception: Metadata contains a reference that cannot be resolved: 'https://crm.domain.suffix/XRMServices/2011/Organization.svc?wsdl&sdkversion=9'.

12:39:54| Info| Attempting IFD discovery service connection.

https://crm.domain.suffix/XRMServices/2011/Discovery.svc  Exception: System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'https://crm.domain.suffix/XRMServices/2011/Discovery.svc?wsdl&sdkversion=9'. ---> System.Net.WebException: The remote server returned an error: (503) Server Unavailable.

at System.Net.HttpWebRequest.GetResponse()

at System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

--- End of inner exception stack trace ---

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)

at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)

at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(Uri address, MetadataExchangeClientMode mode)

at Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpointMetadata(Type contractType, Uri serviceUri, Boolean checkForSecondary)

at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary)

at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri, Boolean enableProxyTypes, Assembly assembly)

at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri)

at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.DiscoverAuthUsingServiceMetadata(Uri endPoint, Uri webEndPoint)

at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProviderForDeployment(Uri endPoint, Uri webEndPoint)

at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.ValidateAuthProvider()

at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.SortAndValidateDeployments()

12:41:13| Error| Exception : Metadata contains a reference that cannot be resolved: 'https://crm.domain.suffix/XRMServices/2011/Discovery.svc?wsdl&sdkversion=9'. at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow)

Sponsor

Want to thank us? Use: Patreon or PayPal or Bitcoins: 12G4A52Znm5s35buKDEmKU2p2vQY69Nsyo

Protect your visitors with SSL, from $3.44

All opinions expressed within these pages are sent in by members of the public or by our staff in their spare time, and as such do not represent any opinion held by sircles.net Ltd or their partners.


sirclesadmin
a year ago
The message is wrong, but so is that version for 2016. That is the 9.0/9.1 version for 365 online.

You need the 2016 server version here: CRM 2016 CRM Server Outlook Client