Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Issue in building the code solution. .NET Framework 4. Microsoft.Xrm.Sdk version 6.0.0000.0800. CrmSvcUtil version 6.0.0000.0809. getting below errors.

Posted on by 402

crm = new Xrm.XrmServiceContext("connection");  <-- cannot convert string to 'Microsoft.Xrm.Sdk.IOrganizationService'

 

which is the right Sdk Version to be used ??

 

 

 

 

*This post is locked for comments

  • Verified answer
    Mohammed Fakhri Profile Picture
    Mohammed Fakhri 402 on at
    RE: Issue in building the code solution. .NET Framework 4. Microsoft.Xrm.Sdk version 6.0.0000.0800. CrmSvcUtil version 6.0.0000.0809. getting below errors.

    Hi All,

    Just to update. The issue here was not with CRM SDK DLL references but the early binding file used was not correct as it had a different name for the Context Object than the one used in the file I was referring it from.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Issue in building the code solution. .NET Framework 4. Microsoft.Xrm.Sdk version 6.0.0000.0800. CrmSvcUtil version 6.0.0000.0809. getting below errors.

    I am not sure. Take a look here-

    community.dynamics.com/.../how-to-solve-could-not-load-type-39-xrm-xrmservicecontext-39

    Hope it helps.

  • Mohammed Fakhri Profile Picture
    Mohammed Fakhri 402 on at
    RE: Issue in building the code solution. .NET Framework 4. Microsoft.Xrm.Sdk version 6.0.0000.0800. CrmSvcUtil version 6.0.0000.0809. getting below errors.

    After adding Microsoft.XRM.Sdk from www.nuget.org/.../6.0.2. It is giving below error.

    The Type or namespace name 'XrmServiceContext' could not be found.

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Issue in building the code solution. .NET Framework 4. Microsoft.Xrm.Sdk version 6.0.0000.0800. CrmSvcUtil version 6.0.0000.0809. getting below errors.

    Thanks Mohammed. Please do remember to close the thread by marking the suggestions as helpful!

  • Mohammed Fakhri Profile Picture
    Mohammed Fakhri 402 on at
    RE: Issue in building the code solution. .NET Framework 4. Microsoft.Xrm.Sdk version 6.0.0000.0800. CrmSvcUtil version 6.0.0000.0809. getting below errors.

    Yes Thanks Ravi.

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Issue in building the code solution. .NET Framework 4. Microsoft.Xrm.Sdk version 6.0.0000.0800. CrmSvcUtil version 6.0.0000.0809. getting below errors.

    You need to extract the folder.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Issue in building the code solution. .NET Framework 4. Microsoft.Xrm.Sdk version 6.0.0000.0800. CrmSvcUtil version 6.0.0000.0809. getting below errors.

    Hi,

    You can download the dll's manually as well if required from the same nuget package. There is a manual download option on the right.

    Here is the direct link for the same-www.nuget.org/.../6.0.2

    Hope this helps.

  • Mohammed Fakhri Profile Picture
    Mohammed Fakhri 402 on at
    RE: Issue in building the code solution. .NET Framework 4. Microsoft.Xrm.Sdk version 6.0.0000.0800. CrmSvcUtil version 6.0.0000.0809. getting below errors.

    Hi Ravi, Ridhima,

    Sorry to bother you guys all over again. Can you please provide me Microsoft.Xrm.Sdk.dll from that package in a shared drive, one drive may be. I do not have a Internet Connection on the server where VS is installed. Please

    ------ I got dlls by renaming the extension from nupkg to zip thanks!!!

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Issue in building the code solution. .NET Framework 4. Microsoft.Xrm.Sdk version 6.0.0000.0800. CrmSvcUtil version 6.0.0000.0809. getting below errors.

    www.nuget.org/.../6.0.2

    Hope it helps

  • Mohammed Fakhri Profile Picture
    Mohammed Fakhri 402 on at
    RE: Issue in building the code solution. .NET Framework 4. Microsoft.Xrm.Sdk version 6.0.0000.0800. CrmSvcUtil version 6.0.0000.0809. getting below errors.

    Hi Ravi,

    is there any way other than Nugets? a direct download link ??

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans