Azure DevOps - 进程 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' 失败,退出代码为 3762504530
Azure DevOps - The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 3762504530
我正在使用 Azure DevOps 进行本地部署,但出现如下错误。我正在 windows 10 pro 机器上部署它。对此有何帮助将是很大的帮助。因为我试图找到一些解决方案但找不到。
The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 3762504530
Failed to deploy web package to IIS website.
Unhandled Exception: System.MissingMethodException: Method not found: 'Void Microsoft.Web.Deployment.Tracing.WebDeployEventWriter.EventWriteVerbose(System.String, System.String, System.String)'.
at Microsoft.Web.Deployment.TraceWrapper.EventWriteVerboseHelper(String message, String user, String siteName)
at Microsoft.Web.Deployment.TraceWrapper.EventWriteVerbose(String message, String user, String siteName)
at MSDeploy.MSDeploy.Main(String[] unusedArgs)
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\azagent\A1\_work\r1\a\temp_web_package_6877648714396305.zip' -dest:auto -setParam:name='IIS Web Application Name',value='SD' -enableRule:DoNotDeleteRule
2020-04-14T13:22:28.4943595Z Error: The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 3762504530
我已经添加了更多细节。
[command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\azagent\A1\_work\r1\a\temp_web_package_3355247159673458.zip' -dest:auto -setParam:name='IIS Web Application Name',value='SD' -enableRule:DoNotDeleteRule2020-04-15T07:42:01.8379357Z Error: The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 3762504530
2020-04-15T07:42:01.8380492Z 在 ExecState._setResult (C:\azagent\A1_work_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba[=29=].156.9\node_modules\azure-pipelines-task-lib\toolrunner.js:816:25)
2020-04-15T07:42:01.8381798Z 在 ExecState.CheckComplete (C:\azagent\A1_work_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba[=29=].156.9\node_modules\azure-pipelines-task-lib\toolrunner.js:799:18)
2020-04-15T07:42:01.8383760Z 在 ChildProcess。 (C:\azagent\A1_work_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba[=29=].156.9\node_modules\azure-pipelines-task-lib\toolrunner.js:721:19)
2020-04-15T07:42:01.8384653Z 在 emitTwo (events.js:106:13)
2020-04-15T07:42:01.8385039Z 在 ChildProcess.emit (events.js:191:7)
2020-04-15T07:42:01.8386129Z 在 maybeClose (internal/child_process.js:920:16)
2020-04-15T07:42:01.8386764Z 在 Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
2020-04-15T07:42:01.8387253Z 正在重试部署包。
2020-04-15T07:42:01.8395750Z [命令]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\azagent\A1_work\r1\a\temp_web_package_3355247159673458.zip' -dest:auto -setParam:name='IIS Web Application Name',value='SD'-enableRule:DoNotDeleteRule
2020-04-15T07:42:01.8906481Z ##[错误]无法将 Web 包部署到 IIS 网站。
2020-04-15T07:42:01.8929403Z ##[错误]
未处理的异常:System.MissingMethodException:未找到方法:'Void Microsoft.Web.Deployment.Tracing.WebDeployEventWriter.EventWriteVerbose(System.String, System.String, System.String)'。
在 Microsoft.Web.Deployment.TraceWrapper.EventWriteVerboseHelper(字符串消息,字符串用户,字符串站点名称)
在 Microsoft.Web.Deployment.TraceWrapper.EventWriteVerbose(字符串消息,字符串用户,字符串站点名称)
在 MSDeploy.MSDeploy.Main(String[] unusedArgs)
2020-04-15T07:42:01.8933306Z ##[错误]错误:进程 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' 失败,退出代码为 3762504530
2020-04-15T07:42:01.9112353Z ##[部分]完成:IIS Web 应用部署
我得到了我们需要的解决方案,我们需要删除 webdeploy 4.0 并降级到 webdeploy 3.6,然后它运行良好。
我正在使用 Azure DevOps 进行本地部署,但出现如下错误。我正在 windows 10 pro 机器上部署它。对此有何帮助将是很大的帮助。因为我试图找到一些解决方案但找不到。
The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 3762504530
Failed to deploy web package to IIS website.
Unhandled Exception: System.MissingMethodException: Method not found: 'Void Microsoft.Web.Deployment.Tracing.WebDeployEventWriter.EventWriteVerbose(System.String, System.String, System.String)'.
at Microsoft.Web.Deployment.TraceWrapper.EventWriteVerboseHelper(String message, String user, String siteName)
at Microsoft.Web.Deployment.TraceWrapper.EventWriteVerbose(String message, String user, String siteName)
at MSDeploy.MSDeploy.Main(String[] unusedArgs)
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\azagent\A1\_work\r1\a\temp_web_package_6877648714396305.zip' -dest:auto -setParam:name='IIS Web Application Name',value='SD' -enableRule:DoNotDeleteRule
2020-04-14T13:22:28.4943595Z Error: The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 3762504530
我已经添加了更多细节。
[command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\azagent\A1\_work\r1\a\temp_web_package_3355247159673458.zip' -dest:auto -setParam:name='IIS Web Application Name',value='SD' -enableRule:DoNotDeleteRule2020-04-15T07:42:01.8379357Z Error: The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 3762504530
2020-04-15T07:42:01.8380492Z 在 ExecState._setResult (C:\azagent\A1_work_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba[=29=].156.9\node_modules\azure-pipelines-task-lib\toolrunner.js:816:25) 2020-04-15T07:42:01.8381798Z 在 ExecState.CheckComplete (C:\azagent\A1_work_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba[=29=].156.9\node_modules\azure-pipelines-task-lib\toolrunner.js:799:18) 2020-04-15T07:42:01.8383760Z 在 ChildProcess。 (C:\azagent\A1_work_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba[=29=].156.9\node_modules\azure-pipelines-task-lib\toolrunner.js:721:19) 2020-04-15T07:42:01.8384653Z 在 emitTwo (events.js:106:13) 2020-04-15T07:42:01.8385039Z 在 ChildProcess.emit (events.js:191:7) 2020-04-15T07:42:01.8386129Z 在 maybeClose (internal/child_process.js:920:16) 2020-04-15T07:42:01.8386764Z 在 Process.ChildProcess._handle.onexit (internal/child_process.js:230:5) 2020-04-15T07:42:01.8387253Z 正在重试部署包。 2020-04-15T07:42:01.8395750Z [命令]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='C:\azagent\A1_work\r1\a\temp_web_package_3355247159673458.zip' -dest:auto -setParam:name='IIS Web Application Name',value='SD'-enableRule:DoNotDeleteRule 2020-04-15T07:42:01.8906481Z ##[错误]无法将 Web 包部署到 IIS 网站。 2020-04-15T07:42:01.8929403Z ##[错误] 未处理的异常:System.MissingMethodException:未找到方法:'Void Microsoft.Web.Deployment.Tracing.WebDeployEventWriter.EventWriteVerbose(System.String, System.String, System.String)'。 在 Microsoft.Web.Deployment.TraceWrapper.EventWriteVerboseHelper(字符串消息,字符串用户,字符串站点名称) 在 Microsoft.Web.Deployment.TraceWrapper.EventWriteVerbose(字符串消息,字符串用户,字符串站点名称) 在 MSDeploy.MSDeploy.Main(String[] unusedArgs)
2020-04-15T07:42:01.8933306Z ##[错误]错误:进程 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' 失败,退出代码为 3762504530 2020-04-15T07:42:01.9112353Z ##[部分]完成:IIS Web 应用部署
我得到了我们需要的解决方案,我们需要删除 webdeploy 4.0 并降级到 webdeploy 3.6,然后它运行良好。