简体   繁体   English

无法发布到Azure:Web部署任务失败

[英]Unable to publish to Azure: Web deployment task failed

I have been deploying my Web Service via Visual Studio for over a year. 我已经通过Visual Studio部署Web服务已有一年多了。 Today it suddenly started giving me the error: Web deployment task failed. 今天,它突然开始给我错误: Web deployment task failed. 在此处输入图片说明

Things I have noticed: 我注意到的事情:

  1. I have two other projects in the same solution that deployed to Azure without an issue. 我在同一解决方案中有两个其他项目,都没有问题地部署到Azure。
  2. I am able to download and change files via Cloud Explorer in VS. 我可以通过VS中的Cloud Explorer下载和更改文件。
  3. I cant preview changes. 我无法预览更改。
  4. Validate Connection fails. 验证连接失败。

Things that I have tried: 我尝试过的事情:

  1. Reset the publish profile via Azure, downloaded and imported it. 通过Azure重置发布配置文件,下载并导入它。
  2. Selected an existing App Service. 选择了现有的应用程序服务。
  3. Ensured that WEBSITE_WEBDEPLOY_USE_SCM = false before downloading the latest publish profile. 下载最新的发布配置文件之前,确保WEBSITE_WEBDEPLOY_USE_SCM = false。
  4. Manually typed in the Username, Password from the Deployment Center 从部署中心手动输入用户名和密码

Hopefully someone can see something I am missing. 希望有人能看到我想念的东西。

I was finally able to publish after a few weeks and plenty of back-and-forths with Azure support. 几周后,我终于能够在Azure支持下反复发布。 I'm not sure if it was just time that fixed the problem, but the last thing I did before it started working was Attach a Debugger to the App Service. 我不确定是否只是时间来解决问题,但是在它开始工作之前我做的最后一件事是将调试器附加到App Service。 Hope that helps! 希望有帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure Web 部署“发布失败” - Azure Web Deploy "Publish Failed" Azure - Web 部署任务失败 [System.AggregateException - WebToolsException] ERROR_COULD_NOT_CONNECT_TO_REMOTESVC - Azure - Web Deployment Task Failed [System.AggregateException - WebToolsException] ERROR_COULD_NOT_CONNECT_TO_REMOTESVC Visual Studio 2010 Web部署任务失败 - Visual Studio 2010 Web deployment task failed Web部署任务失败:不支持Unicode关键字 - Web Deployment Task Failed: Unicode keyword not suported Web部署任务失败-框架版本不匹配 - Web Deployment Task Failed - FRAMEWORK VERSIONS DO NOT MATCH Visual Studio 2019,对于 NodeJs Web 应用程序,发布到 Azure 失败 - Visual Studio 2019, Publish to Azure is failed for NodeJs Web App Web 部署任务失败。 无法连接...服务器没有响应 - Web deployment task failed. Could not connect...server did not respond Visual Studio Team Services Azure部署任务无法部署Web应用 - Visual Studio Team Services Azure Deployment task fails to deploy web app Azure功能发布失败错误消息 - Azure Function Publish failed error message 无法使用 CLI 发布 Azure Function 到 Linux - Unable to publish Azure Function to Linux using CLI
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM