Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Error Registering Workflow Activity

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

  • unizap Profile Picture
    unizap on at
    RE: Error Registering Workflow Activity

    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.

  • Tadhg Profile Picture
    Tadhg 75 on at
    RE: Error Registering Workflow Activity

    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.

  • Verified answer
    unizap Profile Picture
    unizap on at
    RE: Error Registering Workflow Activity

    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?

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