Wednesday, February 5, 2014

Error: Unable to load plug-in Assembly in offline mode for Dynamics CRM 2011 / CRM 2013

Hi Guys,

If you are working on Dynamics CRM 2011 or 2013, and you need to work with offline mode of CRM Outlook Client. And when you do something that need a custom plugin execution. You may come face-to-face with this kind of probleme :

Error Message : Unable to load plug-in Assembly


 And when you download the log file you will see something like this :

Public key token 0868a8a927707e20 is not found in allow list.


The reason for this error is that when you install the CRM Outlook offline client, this one adds in your system registry a new entry called Allow List that contains all public token keys of the allowed plugins. But, this Allow List don't contain the public token key of your plugin. You need to add all public token keys of the offline plugins in this Allow List.

To do it you need to :

  • Open your PRT (Plugin Registration Tool).
  • Select, one by one, all plugins that contain offline mode. Properties window will contains all details about your plugin
  • Copy the public key token like this.


  • You need to open your system registry
  • Navigate to this location : HKEY_CURRENT_USER\Software\Microsoft\MSCRMClient\AllowList

  • Click on AllowList and create a new key:

  • Paste the public token key in the name of the new key.
  • Repeat this operation for all offline plugins

Have a nice day,

N.JL

4 comments:

  1. I’d need to test with you here. Which is not something I often do! I get pleasure from studying a publish that can make people think. Also, thanks for allowing me to comment! online casinos

    ReplyDelete
  2. Innovativeness of author is absolutely great. It has touched to the level of aptitude with his written work. Everything is up to the check. Composed splendidly and I can utilize such data for my coming task. baixar aplicativos

    ReplyDelete
  3. Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... Composite Frac Plugs

    ReplyDelete
  4. Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... Composite Frac Plug

    ReplyDelete