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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Metadata contains a reference that cannot be resolved: 'https://crm.domain.com:444/OrganizationName/XRMServices/2011/Organization.svc?wsdl=wsdl0'

(0) ShareShare
ReportReport
Posted on by 125

Server version 365 On-Premise (recently upgraded from 2016)

I tried connecting using the SDK sample code in foldere "SDK\SampleCode\CS\GeneralProgramming\Authentication"

the error i am experiencing is "Metadata contains a reference that cannot be resolved"

i confronted two WSDL versions(2016 and 365) and i saw different policy changes.

The one i immediatly noticed was the duplication below:
<wsp:Policy wsu:Id="CustomBinding_IOrganizationService_policy"> and
<wsp:Policy wsu:Id="CustomBinding_IOrganizationService1_policy"> 

Any suggestions?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi,

    Please refer the thread below.

    community.dynamics.com/.../222762

  • Matteo Veronesi Profile Picture
    125 on at

    read next post

  • Matteo Veronesi Profile Picture
    125 on at

    Replacing with new SDK 365 dll solved the example in "SDK\SampleCode\CS\GeneralProgramming\Authentication"

    The same problem is present during connection from Microsoft Dynamic Nav 2016 9.0.47838.0 (on-premise) using latest version DLL and Microsoft Dynamic CRM 365 8.2.0.749 (on-premise) through standard Nav connector.

  • Eccountable Profile Picture
    10 on at

    Make sure you have the latest SDK. You can get them here:

    Download Microsoft Dynamics 365 Software Development Kit (SDK) from Official Microsoft Download Cent...

  • Alexandros Miaris Profile Picture
    2 on at

    We get the same error in our DEV instance - which is just updated to Dynamics365 - when trying to connect to Scribe Workbench. The instance is online.

    Are there any workouts on this?

  • gdas Profile Picture
    50,091 Moderator on at

    Hi ,

    This error is coming due to network proxy. Sometimes you checked use a proxy server for your LAN in internet explorer browser settings . So you need check whether you are using proxy server by following way.

    1) Go to internet explorer settings

    2) Select Internet Options

    3)Go to connection Tab

    4)Click on LAN settings

    5) in LAN settings just unchecked the proxy server.

    Hope  this will help. Please mark as answer if your issue get resolve.

    Thanks

    Goutam

  • Community Member Profile Picture
    on at

    Hello Mateo, I also have the same problem. Despite using latest sdk the problem still occurs. Anyway can I have your sample code for connection to crm. Thanks in advance.

  • RajatSharmaRaj Profile Picture
    on at

    This happens when your CRM is 2016+ but in code you are still using Microsoft.Xrm.SDK.dll that is from older SDK versions. Just download the latest CRM SDK and use the latest XRM.SDK.dll from it.

    Also note the XRM.dll from 2016+ needed atleast .Net 4.5.2

    ~ Please Like and Verify this answer if it helped. Always eager to help :-)

  • Saddamk206 Profile Picture
    777 on at

    Update Microsoft.Xrm.Sdk.dll

    OR

    Use this code above connection string

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

  • Community Member Profile Picture
    on at

    This solutions worked fine to me. 

    The default value for ServicePointManager.SecurityProtocol is System.Net.SecurityProtocolType.Ssl3 | System.Net.SecurityProtocolType.Tls

    Thanks in adv.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans