web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

The remote name could not be resolved

(0) ShareShare
ReportReport
Posted on by 595

Hello All,

We are accessing our client system with VPN connection. We are able to access the Development Organizations using http://IPAddress:Port/DevOrgName in the Internet Explorer.


Our task is to develop plugins using visual studio. I created a Dynamics CRM project with IPAddress in "CRM Discovery Server Name", Port in the port number and protocol is http. I am able to connect and successfully logon.

I am able to see the Organizations Org1, Org2. When Org1 is selected the dialog box "Connect to Dynamics CRM Server" is not displaying the solutions of the Org1 and it is closed automatically. same happens with Org2.

Then i thought of checking with plugin registration tool to connect to the Org1 and Org 2.

But the below error is populating.

UNABLE TO CONNECT TO ORGANIZATION

Unhandled Exception: System.InvalidOperationException: Metadata contains a reference that can not be resolved: "http://servername:Port/OrgName/XRMServices/2011/Organization.svc?wsdl".
   bei System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)
   bei System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)
   bei System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)
   bei Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpointMetadata(Type contractType, Uri serviceUri, Boolean checkForSecondary)
   bei Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary)
   bei Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration..ctor(Uri serviceUri)
   bei Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri)
   bei Microsoft.Xrm.Sdk.Client.ServiceProxy`1..ctor(Uri uri, Uri homeRealmUri, ClientCredentials clientCredentials, ClientCredentials deviceCredentials)
   bei Microsoft.Crm.Tools.PluginRegistration.CrmOrganization.InitializeOrganizationService()
   bei Microsoft.Crm.Tools.PluginRegistration.CrmOrganization.get_OrganizationService()
   bei Microsoft.Crm.Tools.PluginRegistration.OrganizationHelper.LoadMessages(CrmOrganization org, ProgressIndicator prog)
   bei Microsoft.Crm.Tools.PluginRegistration.MainForm.LoadMessages(CrmOrganization org)
   bei Microsoft.Crm.Tools.PluginRegistration.ConnectionsForm.OpenConnection(CrmOrganization org)
Inner Exception: System.Net.WebException: The remote name could not be resolved: 'servername'
   bei System.Net.HttpWebRequest.GetResponse()
   bei System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)
   bei System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

Any ideas?

Thanks,

Abhilash.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Shantnu Sharma Profile Picture
    655 on at
    RE: The remote name could not be resolved

    Did you try with IP address instead of server name in the PRT?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans