You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to Deploy IIS I'm getting the error in the subject, and I can see the extra dash in the command line that is produced, near "enableRule"
The "XXX" parts of the log/yaml replace only a-zA-Z, no special characters
I'm a bit concerned it seems to be ignoring my inputs, note that the "setparameters" filename is different, and that the additional arguments have single quotes in rather than double
Environment type (Please select at least one enviroment where you face this issue)
Self-Hosted
Microsoft Hosted
VMSS Pool
Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows Server 2019
Relevant log output
2024-05-09T14:09:16.7293017Z Error: The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 4294967295
2024-05-09T14:09:16.7293693Z at ExecState._setResult (C:\azagent\A2\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.235.1\node_modules\azure-pipelines-task-lib\toolrunner.js:1219:25)
2024-05-09T14:09:16.7294237Z at ExecState.CheckComplete (C:\azagent\A2\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.235.1\node_modules\azure-pipelines-task-lib\toolrunner.js:1202:18)
2024-05-09T14:09:16.7294708Z at ChildProcess.<anonymous> (C:\azagent\A2\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.235.1\node_modules\azure-pipelines-task-lib\toolrunner.js:1115:19)
2024-05-09T14:09:16.7295052Z at ChildProcess.emit (node:events:518:28)
2024-05-09T14:09:16.7295280Z at maybeClose (node:internal/child_process:1105:16)
2024-05-09T14:09:16.7295536Z at ChildProcess._handle.onexit (node:internal/child_process:305:5)
2024-05-09T14:09:16.7295825Z Retrying to deploy the package.
2024-05-09T14:09:16.7310712Z [command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\azagent\A2\_work\r1\a\FDSBuild\PartnerSite\FinalDrivesOnlineSystem.zip' -dest:auto -setParam:name='IIS Web Application Name',value='Staging - Xxx Xxx (Xxx)' -enableRule:AppOffline -setParamFile=1715263755516_tempSetParameters.xml - -enableRule:DoNotDeleteRule
2024-05-09T14:09:17.0346861Z
2024-05-09T14:09:17.0382556Z ##[error]Failed to deploy web package to IIS website.
2024-05-09T14:09:17.0389379Z ##[error]Error: Unrecognized argument '-'.
Error count: 1.
New issue checklist
Task name
IIS web app deploy
Task version
0.235.1
Issue Description
Trying to Deploy IIS I'm getting the error in the subject, and I can see the extra dash in the command line that is produced, near "enableRule"
The "XXX" parts of the log/yaml replace only a-zA-Z, no special characters
I'm a bit concerned it seems to be ignoring my inputs, note that the "setparameters" filename is different, and that the additional arguments have single quotes in rather than double
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows Server 2019
Relevant log output
Full task logs with system.debug enabled
Repro steps
No response
The text was updated successfully, but these errors were encountered: