Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Issues connecting to Dynamics CRM server using the Visual Studio Dynamics SDK provided by Microsoft.

$
0
0

Hi,

I have an issue using ProcessingQuotesAndSalesOrders sample code from CRM SDK https://www.microsoft.com/en-us/download/details.aspx?id=50032

I've created Credentails XML file to connect to my organization 

<?xml version="1.0" encoding="utf-8"?><Configurations><Configuration><ServerAddress>crm.dynamics.com</ServerAddress><OrganizationName>OrgName</OrganizationName>    
<DiscoveryUri>disco.crm11.dynamics.com/.../Discovery.svc</DiscoveryUri><OrganizationUri>org.api.crm11.dynamics.com/.../Organization.svc</OrganizationUri><HomeRealmUri></HomeRealmUri><Credentials><UserName>username</UserName></Credentials><EndpointType>OnlineFederation</EndpointType><UserPrincipalName></UserPrincipalName></Configuration></Configurations>

where parameters are from my istance of Dynamics 365: > Settings > Customizations > Developer Resources 

Error I received after launching program is:

The application terminated with an error.
Metadata contains a reference that cannot be resolved: 'org.api.crm11.dynamics.com/.../Organization.svc'.
There is an error in XML document (1, 1384).

While accessing "https://org.api.crm11.dynamics.com/XRMServices/2011/Organization.svc?wsdl=wsdl0" in my browser all works fine, I get valid wsdl file.

What might be wrong?

Thanks in advance for your help.

Mariusz


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>