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
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.
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.
Hi,
Please check this post
Accordingly, can you change the target version as 4.5.2 & check?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156