Hi,
I'm wondering if anyone has untangled this problem before?
I accidentally registered a Plugin compiled against the CRM 2016 SDK in a CRM 2013 installation (an internal development system).
After realising my mistake, I unfortunately get the following error message when trying to Unregister the plugin:
Crm Exception: Message: Unable to load the plugin type: Customer.Plugin.SetDate.Plugins.ProcessDate, ErrorCode: -2147204720, InnerException: Microsoft.Crm.CrmTypeLoadException: Unable to load the plugin type: Customer.Plugin.SetDate.Plugins.ProcessDate ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I can understand the error and why it has occurred. Somehow, CRM needs to resolve that reference when trying to unregister the plugin. But of course in CRM 2013 that version of the plugin does not exist.
Any ideas?
*This post is locked for comments