I am trying to Import a managed solution that imports plugin assemblies from DLLs stored in GAC. (This is CRM on-prem version 8.2.2)
After deploying the plugin DLLs to GAC, I am doing an IIS reset and Restart Async Services.
The solution import fails the 1st time. and when I do another IIS reset, it succeeds.
The errors in the Trace file are:
Crm Exception: Message: Plug-in assembly does not contain the required types or assembly content cannot be updated., ErrorCode: -2147204725
Crm Exception: Message: Plugin Types import: FAILURE. Error: Plugin: Ellucian.Recruiter.XCAS, Version=5.3.0.0, Culture=neutral, PublicKeyToken=55c547a3498c89fb of PluginTypeName: Microsoft.Crm.Entities.PluginType and PluginTypeNode: System.Xml.XmlElement caused an exception., ErrorCode: -2147188718, InnerException: Microsoft.Crm.CrmException: Plug-in assembly does not contain the required types or assembly content cannot be updated
Web Service Plug-in failed in SdkMessageProcessingStepId: {1B830950-E106-4EE1-B3FD-D348CB65DC8D}; EntityName: none; Stage: 30; MessageName: ImportSolution; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
Any help is appreciated.
*This post is locked for comments