azure - 从 octopus 部署到 azure 出现连接错误

标签 azure asp.net-core .net-core octopus-deploy azure-webapps

我将我的 asp.net core 应用程序从 octopus (v2018.8.12) 部署到 azure。将应用程序从 .NET Core 1.1 更新到 2.1 后,部署停止工作,我收到此异常:

Microsoft.Web.Deployment.DeploymentDetailedException: Web Deploy experienced a connection problem with the server and had to terminate the connection. Contact your server administrator if the problem persists. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CONNECTION_TERMINATED. ---> System.Xml.XmlException: There is an unclosed literal string. Line 1, position 84.

从 Visual Studio 部署仍然有效。部署其他应用程序也有效。有什么建议吗?

最佳答案

重新创建整个网络应用程序有帮助

关于azure - 从 octopus 部署到 azure 出现连接错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52952372/

相关文章:

azure - 将 EC2 从 AWS 迁移到 Azure

azure - 在 Azure Log Analytics 中查看自定义应用程序日志时出现问题

c# - 从方法返回通用任务时发生转换错误

visual-studio - 在 VS 2017 的自托管 VSTS-BuildAgent 上构建失败,错误为 "The TransformWebConfig task could not be loaded[...]"

c# - 通过来自 c# net core 的非托管 c++ dll 订阅 Windows 消息

azure - 获取 Cosmos DB 集合中每个逻辑分区的大小

azure - .Net Core 2.0 - Azure Active Directory - NGinX 反向代理 - HTTPS

c# - 如何强制 Visual Studio 使用特定版本的 DNX

c# - PostBuild 事件中的 .NET Core Assembly.LoadFile

c# - 禁用超时时 SqlBulkCopy 到 Azure 超时