
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
I have the same question (0)HI..
It might be registered assembly has more step classes. This mostly happens when multiple developers working and one registered same assembly with new steps and another developer tries to register assembly which does not includes another developers class then this error comes.
You can try re-registering this assembly.. remove all steps and assembly using plugin registration tool and then register again.
take a look these links also
stuffandtacos.azurewebsites.net/.../
hope this will help..