Search code examples
azureasp.net-core.net-coreoctopus-deployazure-webapps

Deploy from octopus to azure gives connection error


I deploy my asp.net core app from octopus (v2018.8.12) to azure. And after update app from .NET Core 1.1 to 2.1 deploy stopped to work and i get this exception:

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.

Deploy from visual studio still works. Also deploying of another apps works. Any suggestions?


Solution

  • Recreation of whole web app helped