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.