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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamic CRM Metadata contains a reference that cannot be resolved

(0) ShareShare
ReportReport
Posted on by

Hi all,
I have received following error :
"Metadata contains a reference that cannot be resolved: 'xxx/.../Organization.svc;sdkversion=8.2'".
when authenticate user with MS CRM credentials using C#.

For this issue, I have updated with latest package 9.0 and also getting same error with version:
Metadata contains a reference that cannot be resolved: 'xxx/.../Organization.svc;sdkversion=9'.

Please suggest me any solution.

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    This problem occurs when the client computer cannot send an HTTP request. The client computer cannot send the HTTP request because the connection has been closed or is unavailable. for e.g DB server was is using TLS1.2 not SSL as a protocol to connect to CRM App Server, so when making a connection from DB to CRM via console app, you must explicitly set the TLS version on the ServicePointManager. Just have this code run anytime before you make the call to CRM organization service.

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12

  • Suggested answer
    Jasdeep Singh Profile Picture
    62 on at

    Hi Akram,

    we have resolved the same error by updating the Visual studio Project .Net Framework to 4.6 version as we are using the latest SDK package 9.0 version.

    Thanks

    Jasdeep Singh.

  • Suggested answer
    Nishkarsh Vaish Profile Picture
    335 on at

    Hi Akram

    Use this line before Client credentials in your connection file.

    "ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11;"

    Also add namespace "using System.Net;"

    If it works mark as verfied.

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    This was recently posted.

    Check and see if this solves your problem.

    community.dynamics.com/.../254341

    Hope this helps.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans