Last edited Feb 16, 2012 at 11:49 AM by tanguy92, version 4

Comments

philipdawson Mar 23, 2012 at 4:39 PM 
Hello, I tried using the tool for an CRM Online solution and got an error when trying to make a connection. It fails at the "Get Orgs" stage with the following error. Any ideas? Thanks Phil

Error
---------------------------
Error while retrieving organizations : The remote server returned an error: (503) Server Unavailable.

The remote server returned an error: (503) Server Unavailable.

System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'https://dev.crm4orgf9c76.crm4.dynamics.com/XRMServices/2011/Discovery.svc?wsdl'. ---> 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)

at Microsoft.Xrm.Sdk.Client.ServiceProxy`1..ctor(Uri uri, Uri homeRealmUri, ClientCredentials clientCredentials, ClientCredentials deviceCredentials)

at McTools.Xrm.Connection.Forms.ConnectionForm.FillOrganizations()