azure - Web 部署包在部署时抛出 ERROR_SITE_DOES_NOT_EXIST

标签 azure azure-web-app-service web-deployment microsoft-web-deploy

从 aspnet 解决方案创建 WDP 后,[项目名称].deploy.cmd 文件在执行时返回此错误:

错误代码:ERROR_SITE_DOES_NOT_EXIST 更多信息:网站“freedomstoreusa.azurewebsites.net”不存在。了解更多信息:http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SITE_DOES_NOT_EXIST。 错误计数:1。

我的目标是将包部署到此网站,就像从 Visual Studio 2017 发布到 Azure 一样。导致此问题的原因是什么,可以通过什么解决该问题,以及打包和部署网站的替代方案有哪些?

以下是我在软件包向导中的设置: enter image description here

最佳答案

what can resolve it and what are some alternatives to packaging and deploying a website?

我构建并打包 Web 应用程序项目,并且 use MSDeploy.exe部署 Web 应用程序,这在我这边工作得很好。

命令:

enter image description here

TestSite.SetParameters.xml

<?xml version="1.0" encoding="utf-8"?>
<parameters>
  <setParameter name="IIS Web Application Name" value="{app name}" />
</parameters>

关于azure - Web 部署包在部署时抛出 ERROR_SITE_DOES_NOT_EXIST,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43907981/

相关文章:

azure - 以编程方式扩展 Windows Azure 角色

Azure API 网关 - 将 JWT token 发送到后端

azure - 为 Azure blob 静态网站启用 HTTPS

php - 如何添加到 Azure Web 服务上的 PHP.ini?

Azure Web应用程序部署: Can I disable FTP on the public IP and enable it on the private IP only?

c# - 使用 AAD 身份验证从带有 MSI 的应用服务向另一个应用服务 API 发出 HTTP 请求

Tomcat 网络应用程序 : Error storing image file outside of context root on OpenShift

azure - Visual Studio Online CI 可以构建到自定义主机吗?

azure - 在 Azure 数据工厂中设置变量

Angular2 E2E Protractor 。等到元素有类