7
votes

I have setup the VSTS release definition with Dev and Test environments, those environments successfully deployed without any issue from last 2 months but suddenly today I faced some issue in Test environment even Dev environment succeeded.

The issue like “Error:C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return code: 4294967295”, if you want more information see the below screenshot. enter image description here

Before posting question I read so many answers and tried with some options like adding -retryInterval: 6000 -retryAttempts:10 and tick the Take app offline option under Additional Deployment Options of VSTS release steps. But those are not helpful for resolving my issue.

So, can anyone tell me how to resolve this issue as soon as possible?

1
Is there something different about the test environment? Can you edit the release and revalidate the configuration of the deployment info to the slot you are deploying it? Maybe it needs to reauthenticate it - Jonathan
No, Test environment is similar to Dev environment only. there is no difference. - Pradeep
Now My will be resolved by restarting the my azure app service. but I didn't know exact solution for this issue. - Pradeep
You can add system.debug variable with true value, then start release and check detail log. Could you reproduce this issue with a new azure app service? - starian chen-MSFT
@starain-MSFT, I tried by setting system.debug variable with true value. But it can't reproduce the issue with new azure app service. - Pradeep

1 Answers

0
votes

Since setting system.debug release definition variable (in variables tab) to true didn't give more information, I finally deleted and recreated the staging slot to be able to deploy again. Of course I checked that the slot app and all its web jobs were stopped.

You're lucky if you deploy to a slot.