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)

Error Registering Workflow Activity

(0) ShareShare
ReportReport
Posted on by 75

I am getting a strange error when using the Plugin Registration tool to register an assembly.

The error code is "<ErrorCode>-2147204725</ErrorCode>"
Included in the Error details is the following:

"This plugin assembly uses version MyActivity, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c1fbfa80b3681ec0 of the .NET Framework. At this time Microsoft Dynamics 365 requires version 4.6.2 of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version 4.6.2 and try again."

It appears to be stating my Activitiy's details as the .NET version?

Additional Info:

- The .NET Version IS 4.6.2
- I have tried building using .NET 4.7
- The assembly is signed.
- I am system admin

Has anyone seen this error before? I can't find any info anywhere, and am at a loss as to how I can troubleshoot this further.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    unizap Profile Picture
    on at

    Hi,

    Please check this post

    community.dynamics.com/.../at-this-time-microsoft-dynamics-365-requires-version-4-6-2-of-the-net-framework-for-plugin-assemblies

    Accordingly, can you change the target version as 4.5.2 & check?

  • Tadhg Profile Picture
    75 on at

    This worked!

    Thank you so much.

    I still don't understand why this occurred.

    It seems to have been specific to this Dynamics instance. As I was able to register the same assembly on other instances without issue.

    I was also unable to register a (practically) blank assembly on the instance with the issue.

    Thanks again.

  • unizap Profile Picture
    on at

    As pointed out by Alex in the post that I shared, this seems to be a bug with the error message. It should say the following (only when assembly version is higher than 4.5.2):

    "At this time Microsoft Dynamics 365 requires version <4.5.2> of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version <4.5.2> and try again."

    Version 4.5.2 is the highest supported version.

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