WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
115 stars 54 forks source link

Solution Upgrade failure #224

Open don-matese opened 3 years ago

don-matese commented 3 years ago

Since the weekend applying the solution upgrade has failed - this has been working fine for weeks and no changes have been made to the deployment process.

After 36 seconds (running async) the error received is

Solution upgrade Failed. Error: Solution still exists after upgrade: Solution_Upgrade

Looking in the solution history screen I can see references to 80040216 - Unexpected error (80040216) when importing solution in Dynamics 365. Trying to apply the upgrade manually results in the same error and the upgrade remains unapplied.

https://support.microsoft.com/en-us/help/4457962/unexpected-error-80040216-when-importing-solution-in-dynamics-365

AlexSpodkiewicz commented 3 years ago

Yep I am getting a similar issue in the DeleteandPromote System job getting this error:

Exception retrieving custom activity info using SandboxPlugin - Unhandled exception: Exception type: Microsoft.Crm.CrmException Message: Unable to retrieve customActivityInfo using RetrieveCustomActivityInfoWithSandboxPlugin. at Microsoft.Crm.Workflow.ObjectModel.CustomActivityInfoMetadataBase.GetCustomActivityInfo(ActivityInfo activityInfo, Int32 isolationMode, Guid pluginAssemblyId) -- End stack trace --

Also in Solution History where you can see its failed the Error Code is showing as 8004505A

dartamon commented 3 years ago

Same upgrade error, when redeploying it goes away. No particular reason.

WaelHamze commented 3 years ago

@don-matese looks like this is due to something in the backend. I don't think there is an issue with the task. Did you try to raise a case with MS?

don-matese commented 3 years ago

Yes. There was an issue with environment variables following one of the weekly updates to the platform. MS had to run an update script to overcome the problem.

On Tue, 1 Dec 2020, 08:07 WaelHamze, notifications@github.com wrote:

@don-matese https://github.com/don-matese looks like this is due to something in the backend. I don't think there is an issue with the task. Did you try to raise a case with MS?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/WaelHamze/dyn365-ce-vsts-tasks/issues/224#issuecomment-736297587, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMXYKGGEOGQJWMVA2IY4UDSSSP2JANCNFSM4TYDMQBA .

Rhirhi229 commented 2 years ago

@don-matese looks like this is due to something in the backend. I don't think there is an issue with the task. Did you try to raise a case with MS?

Hiya, I know this is an old thread but we are having the same issue. Is there an easy way to check any missing references / dependencies or is this issue occuring always linked to something MS needs to fix?