web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Solution Import failing at Plugin Assembly Import step

(0) ShareShare
ReportReport
Posted on by 17

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)
  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at

    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

    arunpotti.wordpress.com/.../

    community.dynamics.com/.../plug-in-assembly-does-not-contain-the-required-types-or-assembly-content-cannot-be-updated-error

    stuffandtacos.azurewebsites.net/.../

    blog.craigharvey.me/.../

    www.inogic.com/.../

    hope this will help..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans