Hello All,
i am trying to connect CRM 2016 with GP 2015. I am getting error while testing configuration setting for Microsoft Dynamics CRM 2011 in Connector for Microsoft Dynamics.
"
Metadata contains a reference that cannot be resolved: 'test/.../Discovery.svc;sdkversion=7.1'.
--- Exception Dump ---
Caught Exception: [System.InvalidOperationException] Metadata contains a reference that cannot be resolved: 'test/.../Discovery.svc;sdkversion=7.1'.
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 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.CreateManagement[TService](Uri serviceUri, Boolean enableProxyTypes, Assembly assembly)
at Microsoft.Dynamics.Integration.Adapters.Crm2011.CRM2011Adapter.GetCrmDiscoveryWebServiceClient()
at Microsoft.Dynamics.Integration.Adapters.Crm2011.CRM2011Adapter.GetOrgExtDetail()
at Microsoft.Dynamics.Integration.Adapters.Crm2011.CRM2011Adapter.GetOrgEndpoint()
at Microsoft.Dynamics.Integration.Adapters.Crm2011.CRM2011Adapter.GetCrmWebServiceClient()
at Microsoft.Dynamics.Integration.Adapters.Crm2011.CRM2011Adapter.GetSystemUserId(String userFullName, IOrganizationService serviceInstance)
at Microsoft.Dynamics.Integration.Adapters.Crm2011.CRM2011Adapter.get_IntegrationUserId()
at Microsoft.Dynamics.Integration.Adapters.Crm2011.CRM2011AdapterUtilities.GetReaderQueryExpression(String entityName, DateTime modifiedDate, CRM2011Adapter adapter, Boolean isDynamic, ColumnSet columnSet)
at Microsoft.Dynamics.Integration.Adapters.Crm2011.CrmObjectProvider.GetModifiedEntityKeys(DateTime modifiedDate, String keyPropertyName, String keyDisplayName)
at Microsoft.Dynamics.Integration.Adapters.Crm2011.CustomerObjectProvider.ReadObjectKeys(DateTime modifiedDate)
at Microsoft.Dynamics.Integration.AdapterAbstractionLayer.MixedObjectProviderProxy.ReadObjectKeys(DateTime modifiedDate)
at Microsoft.Dynamics.Integration.Service.Tasks.MapWork.ReadObjectKeyList(DbMap map, DateTime queryDate, Int32& count)
at Microsoft.Dynamics.Integration.Service.Tasks.MapWork.GetObjectKeys(DbMap map, OperationType operationType, DateTime queryDate, Int32& count)
at Microsoft.Dynamics.Integration.Service.Tasks.MapWork.ProcessRecordsImplementation(OperationType operationType)
Inner Exception: [System.Net.WebException] The remote server returned an error: (400) Bad Request.
Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)
at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)
User:
Machine:
"
I have used many versions (old to new) of "Microsoft.Xrm.Sdk.dll" in C:\Program Files (x86)\Microsoft Dynamics\Microsoft Dynamics Adapter\Adapters\Microsoft.Dynamics.Integration.Adapters.Crm2011 ..... but no Luck.
If i change the "Microsoft.Xrm.Sdk.dll" the error description change with the sdk version in the end like "Metadata contains a reference that cannot be resolved: 'test/.../Discovery.svc;sdkversion=8.2'."
*This post is locked for comments