Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Solution Import Failed - Error Code: 0x80040216

Posted on by 3,070

Hi guys,

I'm trying to import a managed solution to my production environment and it fails with the following Error:

Error Code: 0x80040216

Error Text: Form factor code 0 is missing a control declaration

Can anyone shed any light on what might be causing this issue?

For reference, my Sandbox is currently in Dynamics 365, the Production Environment is CRM Online 2016.  The solution is being exported for Version 8.1

*This post is locked for comments

  • Daniel Schneider Profile Picture
    Daniel Schneider 170 on at
    RE: Solution Import Failed - Error Code: 0x80040216

    Hi all,

    I have the same issue:

    error code: 0x80040216

    error text: There should nit be more the one component instance for a solution being upgraded. Solution id: *****

    This error occurs on a custom Plugin on Update Message. I think the Plugin was unregistered and reregistered in the destination system because PluginId is different to the PluginId in my Solution but assembly and StepId are the same.

    I cannot deinstall the Solution because there are a lot of dependent Solutions which needs to have been deinstalled first.

    Anybody have an idea how can i resolve this issue?

    Environment is v8.2

    Thanks for help

  • demoproject001 Profile Picture
    demoproject001 5 on at
    RE: Solution Import Failed - Error Code: 0x80040216

    hi, i did the same but it is not working. i need to translate the text in Knowledge article and the error code it is showing is same.

    Error code: 0x80040216

    Session Id: 6bbd6418-334d-4e54-b72c-cb35ddccf709

    Activity Id: 375c2499-a0fe-4395-abb8-77c459bfafb4

    can you help

  • CRM2011 Profile Picture
    CRM2011 55 on at
    RE: Solution Import Failed - Error Code: 0x80040216

    Solution by Michael Dodd worked like a charm. I had the similar error on Opportunity entity and found out that editable grids was turned on. Turning it off and error code 0x80040216 disappeared :)

    Source environment: Dynamics 365 (online)

    Target: Dynamics 2016 8.1 UR 1 (on prem)

  • Suggested answer
    MDoddio73 Profile Picture
    MDoddio73 1,910 on at
    RE: Solution Import Failed - Error Code: 0x80040216

    [quote user="Ryan Maclean"]

    Hi guys,

    I'm trying to import a managed solution to my production environment and it fails with the following Error:

    Error Code: 0x80040216

    Error Text: Form factor code 0 is missing a control declaration

    Can anyone shed any light on what might be causing this issue?

    For reference, my Sandbox is currently in Dynamics 365, the Production Environment is CRM Online 2016.  The solution is being exported for Version 8.1

    [/quote]

    Have you found a solution to this issue? If not, I think I found the culprit. In my instance, I was going from 8.2 (Dyn365 Online) to 8.1 on-prem. The "Control" form factor got me thinking about what is missing between 8.2 and 8.1. So on an educated hunch, I went to the entity throwing the error. In the Entity Control tab, I saw that Editable Grids was enabled.

    I removed editable grids both on the entity throwing the error and the other entity in the solution that was enabled for editable grids.

    This fixed the issue.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Solution Import Failed - Error Code: 0x80040216

    I have the same issue when exporting a solution from Dynamics 365 On Premise to a CRM On Premise 2016.

    Any updates on this?

  • Suggested answer
    Nausher Sayeed Profile Picture
    Nausher Sayeed 520 on at
    RE: Solution Import Failed - Error Code: 0x80040216

    Hi Ryan,

    Check the version(i.e. 8.1) of your solution while exporting. Make sure you select 8.1 .

  • Suggested answer
    Shidin Haridas Profile Picture
    Shidin Haridas 3,497 on at
    RE: Solution Import Failed - Error Code: 0x80040216

    Hi Ryan,

    If you are willing to modify the customization zip file directly, then all you have to do is

    1. Extract the files in the solution zip.

    2. Open solution.xml

    3. The very first line of this file should contain two keywords - 'version' & 'SolutionPackageVersion'. Modify them directly to the version of your target CRM tenant.

    4. Rezip the files.

    5. Try importing now.

    PS: I would not recommend this, as this not supported, but as Nadeeja said, " error (0x80040216) seems to be a new undocumented error. "

  • Franglais Profile Picture
    Franglais on at
    RE: Solution Import Failed - Error Code: 0x80040216

    Does your solution only contain certain components for the selected entities? If so, try making a solution that contains ALL subcomponents for the selected entity. We faced an issue exporting an unmanaged solution from an 8.2 sandbox to an 8.1 production system which Microsoft said we could only fix if we imported all subcomponents for that entity. Not massively helpful if I'm being honest given you don't want to be pulling across everything every time!

  • Ryan Maclean Profile Picture
    Ryan Maclean 3,070 on at
    RE: Solution Import Failed - Error Code: 0x80040216

    Has anyone got any advice as to how to resolve this issue?

  • Nadeeja Bomiriya Profile Picture
    Nadeeja Bomiriya 6,804 on at
    RE: Solution Import Failed - Error Code: 0x80040216

    Hmm.. Theoretically, yes.

    This error (0x80040216) seems to be a new undocumented error.

    http://dyn365apps.com/2017/02/09/quick-reference-dynamics-365-web-service-error-codes/

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans