I'm using Dynamics 365 and made a minor change to a solution (swapped a few fields around an entity form for readability), exported the managed solution from the sandbox, and imported them into the main instance. I've done this several times before, but this time I'm getting a consistent error (below).
It happens right after selecting the .zip file and selecting next.
I tried using the previous few versions that were imported successfully and they get past this point without any issue.
I then tried to export an unmanaged solution and import it back into the sandbox. I get the same error.
From what I can tell, something is wrong with this export. Does anyone have any idea what could be causing this error? The research I've done online hasn't found anything, as 80040216 is an unexpected error (https://support.microsoft.com/en-us/help/4457962/unexpected-error-80040216-when-importing-solution-in-dynamics-365). The link mentions a download log file button, but it's not appearing when the error appears.
Error:
An error has occurred. Try this action again. If the problem continues, check the Microsoft Dynamics 365 community for solutions or contact your organization's Microsoft Dynamics 365 Administrator. Finally, you can contact Microsoft Support. Activity ID: ###
Error code 80040216