Dynamics CRM::Unable to register the new custom workflow assembly

Hope everyone is enjoying the Valentines month 🙂

Quickly, I would like to share the recent experience in registering the custom workflow in Dynamics CRM/365 v 8.2.

Error 1

exception-has-been-thrown-by-the-target-of-an-invocation-error-mscorlib

Resolution

if its on-premise, check the isolation mode. set it to None. It will allow you to register

Error 2

Plug-in assembly fullnames must be unique (ignoring the version build and revision number)

Resolution

  • Make sure other assemblies doesn’t have the same name
  • Sometime, Assembly which u tried to register get failed but the reference will be there. Unregister the reference and try again.
  • Still, Try changing the major version of the assembly and register

Error 3

Exception retrieving custom activity info – Could not load file or assembly ‘Microsoft.Xrm.Sdk.Workflow, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference

Resolution

Make sure the CRM assemblies which you referred as in-line with the Plugin Registration tool. Ex. you might referred higher version dll in your code and trying to register using the lower version plugin registration tool.

Hope this information will help.

if you are in need of consulting / any kind of support, please do reach me.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: