Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error:C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return code: 4294967295

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?

like image 350
Pradeep Avatar asked Jul 04 '26 05:07

Pradeep


1 Answers

This issue was related to permissions. The IIS deployment needs permissions to override files and do file transform if you have a web.config file.

I had an Azure Pipeline running on a server and I've added the "NETWORK SERVICE" account to the security with full control.

enter image description here

enter image description here

like image 133
amrswalha Avatar answered Jul 06 '26 18:07

amrswalha