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)

Workflow error "Could not load file or assembly 'Microsoft.XRM.SDK'

(0) ShareShare
ReportReport
Posted on by

I have created a workflow using Visual Studio 2015 with Dynamics SDK.

I have successfully published this workflow to Dynamics 365 CRM (online) using the Plugin Registration Tool which was present in the SDK.

When I trigger the process to run I get the error message "Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=nuetral, PublicKeyToken=1234' or one of its dependencies.  The system cannot find the file specified.

The version of XRM.SDK that I am using in my Visual Studio project is 9.0.0.0.

The version of my Dynamics 365 instance is: Version 1612 (8.2.2.330)

This is my first time creating a workflow, so am a bit lost in terms of potential fixes.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    It seems that the version is mismatch, Maybe you can try to use the lower version of SDK. You can refer to below pictures. I am using V8.2 version of SDKto connect Dynamics 365 instance is: Version 1612 (8.2.1.176)

    1108.3.png

    1108.3.png

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    It certainly does look like a dll version issue. You should use the dll as per your current CRM versions.

    Hope this helps.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Can you use the XRM.SDK dll in console application and connect CRM and execute some logic. If its not work then try with some lower version as Wei suggested.

    Hope this helps.

  • Suggested answer
    Preeti Sharma Profile Picture
    2,678 on at

    Hi,

    You must use sdk with version 8.0 as Dynamics 365 instance i having version 8.2.2.330.

    community.dynamics.com/.../dynamics-365-sdk-backwards-compatibility

    Hope this helps:)

  • Community Member Profile Picture
    on at

    Thanks for the answers all.

    I reduced the version of the SDK and it worked.

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