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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Managed solution import (upgrade) fails - missing type from plugin assembly

(0) ShareShare
ReportReport
Posted on by

We have a version of our product in the wild, released as a Managed Solution with a Plugin Assembly.

Since this release, we have developed new Plugins added to the existing assembly. 

However, when attempting to upgrade the Managed Solution while using the import option to Maintain Existing customizations, the import fails and claims that either there is a missing type from the Plugin Assembly or else that the Plugin Assembly is not updatable.  (The trace log is loquacious but says nothing more meaningful.)

 

I have tried bumping the solution and assembly versions to see if CRM is perhaps being picky about how I version changes; neither has made a difference.

 

Since I dev with Unmanaged Solutions, I was surprised to see this; and I’m out of ideas, since reflector confirms that both my deployed assembly and newly compiled ones expose the same types (plus the ones added to the new one).

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    The original sdkmessageprocessingstep has been disabled and replaced. (8 times for other plugins that appear to be processed successfully)

    Unable to load the plugin type: [our.plugin.here]

  • Community Member Profile Picture
    on at

    Here is the error snippet from log:

    The original sdkmessageprocessingstep has been disabled and replaced. (8 times for other plugins that appear to be processed successfully)

    Unable to load the plugin type: [our.plugin.here]

  • Inogic Profile Picture
    748 on at

    You may want to check the version # of the plugin assembly and set it to match the version of the assembly included in the installed managed solution.

    You could also try to manually unregister the plugin using plugin registration tool.

    HTH

    Sam

  • Nizar JLASSI Profile Picture
    2 on at

    Hi Liz P,

    Is the managed solution yours ? or you get it form another publisher ?

  • Community Member Profile Picture
    on at

    Yes, it is our solution. In fact it's two packages that work together. The team has since found that if you install package 2 and then package 1, it seems to load. However our client configuration require that it  be possible to install package 1 standalone; and then optionally install package 2 as well.

  • Verified answer
    Nizar JLASSI Profile Picture
    2 on at

    In this case,

    Export the new version of your managed solution and extract it in a separate folder.

    Open Solution.xml file and edit it in a text editor.

    Change the unique name of the managed solution : 

    1. <ImportExportXml version="6.0.0001.0061" SolutionPackageVersion="6.0" languagecode="1033" generatedBy="OnPremise" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    2.   <SolutionManifest>
    3.     <UniqueName>ManagedSolutionUniqueName</UniqueName>
    4.     <LocalizedNames>
    5.       <LocalizedName description="Managed Solution Friendly Name" languagecode="1033" />
    6.       <LocalizedName description="Managed Solution Friendly Name" languagecode="1036" />
    7.     </LocalizedNames>

    with a new unique name :

    1. <ImportExportXml version="6.0.0001.0061" SolutionPackageVersion="6.0" languagecode="1033" generatedBy="OnPremise" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    2.   <SolutionManifest>
    3.     <UniqueName>NewManagedSolutionUniqueName</UniqueName>
    4.     <LocalizedNames>
    5.       <LocalizedName description="Managed Solution Friendly Name" languagecode="1033" />
    6.       <LocalizedName description="Managed Solution Friendly Name" languagecode="1036" />
    7.     </LocalizedNames>

    - Save the file and re-compress the folder.

    - Rename the new compressed solution file with a new name.

    Now, you will have two solutions :

         *  one with the old name (we will call it Solution A)

         *  and the second one with the new unique name (we will call it Solution B)

    - Go to your organization > Settings > Solutions and click on Import Solution.

    - And Import the solution B (with the new unique name).

    - After importing the solution B, delete the old solution already existing in your organization (we will call it solution C). Don't worry, neither data nor entities will be deleted.

    - After deleting the solution C, import the solution A.

    - Delete solution B.

    This method is to use when you have an installed managed solution with an old component (entity, chart, dashboard, etc...) that you want to replace with a new version of the same managed solution but without this ild component.

  • Community Member Profile Picture
    on at

    It happens to me always when I forget to uninstall the Plugin Profiler before importing a solution. However usually this error is caused because something is using and so blocking the plugin assembly. What I usually do is an IISRESET or to stop all the Services that are maybe using the plugin dll like the asynchronous processing service

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans