Azure Web App Deployment Failing on Deploy step

Hello,
I am new to setting up Azure Web App deployments and have run into an error that I am unsure how to fix.

Here is the error from the failed deployment:
System.MissingMethodException: Method not found: ‘Void Microsoft.Web.Deployment.DeploymentBaseOptions.set_UserAgent(System.String)’.
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.DeploymentOptions(String siteName, SitePublishProfile publishProfile)
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment) in Y:\work\14ffc968155e4956\source\Calamari.Azure\Deployment\Conventions\AzureWebAppConvention.cs:line 24
09:47:00Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions() in Y:\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 60
at Calamari.Deployment.ConventionProcessor.RunConventions() in Y:\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 28
Running rollback conventions…
System.MissingMethodException: Method not found: ‘Void Microsoft.Web.Deployment.DeploymentBaseOptions.set_UserAgent(System.String)’.
09:47:00Error
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.DeploymentOptions(String siteName, SitePublishProfile publishProfile)
09:47:00Error
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment) in Y:\work\14ffc968155e4956\source\Calamari.Azure\Deployment\Conventions\AzureWebAppConvention.cs:line 24
09:47:00Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions() in Y:\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 60
09:47:00Error
at Calamari.Deployment.ConventionProcessor.RunConventions() in Y:\work\14ffc968155e4956\source\Calamari\Deployment\ConventionProcessor.cs:line 50
at Calamari.Azure.Commands.DeployAzureWebCommand.Execute(String[] commandLineArguments) in Y:\work\14ffc968155e4956\source\Calamari.Azure\Commands\DeployAzureWebCommand.cs:line 85
at Calamari.Program.Execute(String[] args) in Y:\work\14ffc968155e4956\source\Calamari\Program.cs:line 38
The step failed: The remote script failed with exit code 100

Has anyone else seen this error? What is the fix for it?

Thank you,
Victoria

Hi Victoria,

Thanks for reaching out. Could you please send us a screenshot of your deployment process, along with a deployment log?

http://docs.octopusdeploy.com/display/OD/Get+the+raw+output+from+a+task

Thanks,
Dalmiro

Hello,

Thank you for your response, here are the files you asked for.

Thanks,
Victoria

ServerTasks-1035.log.txt (4 KB)

Hi Victoria,

Thanks for sending that info and sorry for the delay. We’ve had another report of that error back in Octopus 3.0, where the solution was to re-install WebDeploy 3.5. Here’s the full thread: http://community.octopusdeploy.com/t/unable-to-deploy-application-on-azure-website/344

Let me know if that helps
Dalmiro

Quick FYI - That azure deploy step runs on the Octopus Server and not on the Tentacles. So you’ll need to re-install WebDeploy 3.5 on the Octopus Server.