Forum Discussion
sandovalher
Jan 25, 2023Copper Contributor
Error en IIS Web App Deploy despliegue de release en IIS on-premise desde Azure DevOps pipeline
Log
2023-01-25T23:40:30.8744468Z ##[section]Starting: IIS Web App Deploy
2023-01-25T23:40:30.8903054Z ==============================================================================
2023-01-25T23:40:30.8903268Z Task : IIS web app deploy
2023-01-25T23:40:30.8903379Z Description : Deploy a website or web application using Web Deploy
2023-01-25T23:40:30.8903522Z Version : 0.216.0
2023-01-25T23:40:30.8903614Z Author : Microsoft Corporation
2023-01-25T23:40:30.8903723Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/iis-web-app-deployment-on-machine-group
2023-01-25T23:40:30.8903928Z ==============================================================================
2023-01-25T23:40:31.1994467Z [command]C:\azagent\A3\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.216.0\node_modules\azure-pipelines-tasks-webdeployment-common\7zip\7zip\7z.exe x -oC:\azagent\A3\_work\_temp\temp_web_package_866292376042844 "C:\azagent\A3\_work\r1\a\_Administracion de Rutas e Itinerarios (1)\drop\WebApp.zip"
2023-01-25T23:40:31.2197877Z
2023-01-25T23:40:31.2198762Z 7-Zip [64] 16.00 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-10
2023-01-25T23:40:31.2201855Z
2023-01-25T23:40:31.2202606Z Scanning the drive for archives:
2023-01-25T23:40:31.2202889Z 1 file, 1916702 bytes (1872 KiB)
2023-01-25T23:40:31.2203413Z
2023-01-25T23:40:31.4113030Z Extracting archive: C:\azagent\A3\_work\r1\a\_Administracion de Rutas e Itinerarios (1)\drop\WebApp.zip
2023-01-25T23:40:31.4113418Z --
2023-01-25T23:40:31.4115027Z Path = C:\azagent\A3\_work\r1\a\_Administracion de Rutas e Itinerarios (1)\drop\WebApp.zip
2023-01-25T23:40:31.4116134Z Type = zip
2023-01-25T23:40:31.4116563Z Physical Size = 1916702
2023-01-25T23:40:31.4116691Z
2023-01-25T23:40:31.4117153Z Everything is Ok
2023-01-25T23:40:31.4117810Z
2023-01-25T23:40:31.4118058Z Folders: 14
2023-01-25T23:40:31.4118378Z Files: 73
2023-01-25T23:40:31.4118833Z Size: 8909280
2023-01-25T23:40:31.4119284Z Compressed: 1916702
2023-01-25T23:40:31.4741206Z Initiated variable substitution in config file : C:\azagent\A3\_work\_temp\temp_web_package_866292376042844\Content\D_C\a\1\s\TestDevOpsCIDC\obj\Release\net6.0\PubTmp\Out\web.config
2023-01-25T23:40:31.4784248Z Skipped Updating file: C:\azagent\A3\_work\_temp\temp_web_package_866292376042844\Content\D_C\a\1\s\TestDevOpsCIDC\obj\Release\net6.0\PubTmp\Out\web.config
2023-01-25T23:40:31.4784746Z XML variable substitution applied successfully.
2023-01-25T23:40:32.7770074Z [command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\azagent\A3\_work\r1\a\temp_web_package_7133008236613201.zip' -dest:auto -setParam:name='IIS Web Application Name',value='TestDevOpsCIDC' -enableRule:DoNotDeleteRule
2023-01-25T23:40:32.8886794Z Error: The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 4294967295
2023-01-25T23:40:32.8887914Z at ExecState._setResult (C:\azagent\A3\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.216.0\node_modules\azure-pipelines-task-lib\toolrunner.js:942:25)
2023-01-25T23:40:32.8889015Z at ExecState.CheckComplete (C:\azagent\A3\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.216.0\node_modules\azure-pipelines-task-lib\toolrunner.js:925:18)
2023-01-25T23:40:32.8889979Z at ChildProcess.<anonymous> (C:\azagent\A3\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.216.0\node_modules\azure-pipelines-task-lib\toolrunner.js:838:19)
2023-01-25T23:40:32.8890637Z at ChildProcess.emit (node:events:527:28)
2023-01-25T23:40:32.8891085Z at maybeClose (node:internal/child_process:1092:16)
2023-01-25T23:40:32.8891544Z at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
2023-01-25T23:40:32.8891946Z Retrying to deploy the package.
2023-01-25T23:40:32.8980121Z [command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\azagent\A3\_work\r1\a\temp_web_package_7133008236613201.zip' -dest:auto -setParam:name='IIS Web Application Name',value='TestDevOpsCIDC' -enableRule:DoNotDeleteRule
2023-01-25T23:40:32.9959516Z Error: The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 4294967295
2023-01-25T23:40:32.9960385Z at ExecState._setResult (C:\azagent\A3\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.216.0\node_modules\azure-pipelines-task-lib\toolrunner.js:942:25)
2023-01-25T23:40:32.9961228Z at ExecState.CheckComplete (C:\azagent\A3\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.216.0\node_modules\azure-pipelines-task-lib\toolrunner.js:925:18)
2023-01-25T23:40:32.9962160Z at ChildProcess.<anonymous> (C:\azagent\A3\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.216.0\node_modules\azure-pipelines-task-lib\toolrunner.js:838:19)
2023-01-25T23:40:32.9962819Z at ChildProcess.emit (node:events:527:28)
2023-01-25T23:40:32.9963207Z at maybeClose (node:internal/child_process:1092:16)
2023-01-25T23:40:32.9963914Z at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
2023-01-25T23:40:32.9964576Z Retrying to deploy the package.
2023-01-25T23:40:32.9986437Z [command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\azagent\A3\_work\r1\a\temp_web_package_7133008236613201.zip' -dest:auto -setParam:name='IIS Web Application Name',value='TestDevOpsCIDC' -enableRule:DoNotDeleteRule
2023-01-25T23:40:33.1058406Z ##[error]Failed to deploy web package to IIS website.
2023-01-25T23:40:33.1067045Z ##[error]Error: No se reconoce el argumento 'Files\IIS\Microsoft'. Todos los argumentos deben comenzar con "-".
Recuento de errores: 1.
2023-01-25T23:40:33.1201002Z ##[error]Error: The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 4294967295
2023-01-25T23:40:33.1314601Z ##[section]Finishing: IIS Web App Deploy
2 Replies
- martinperreaultCopper Contributor
sandovalher Applying the suggested work around in this article https://github.com/microsoft/azure-pipelines-tasks/issues/17634 fix the problem on our serveurs.
Simply replace content on the 0.216.0 folder with the content of the 0.215.0 folder
- tnielsenlimboCopper ContributorDid you find a solution to this problem? I am getting the same error.