Web Deploy to Azure

Hi,

I’m trying to do a Web Deploy to Azure and getting the following message. I’m not sure how to fix this? Can you please point me in the right direction? Thanks!

               |   == Failed: Step 2: Web Deploy - Azure Production ==

09:05:12 Fatal | The step failed: Activity Web Deploy - Azure Production on cloud-deploy failed with error ‘The remote script failed with exit code 1’.
09:05:12 Verbose | Web Deploy - Azure Production completed
|
| Failed: cloud-deploy
09:05:07 Verbose | Octopus Server version: 3.4.11+Branch.master.Sha.cf6d019452205b6dc6542343cb565ca80aac1e8c
09:05:07 Info | Executing script on 'cloud-deploy’
09:05:09 Verbose | Octopus Deploy: Calamari version 3.4.19+Branch.master.Sha.fd4d6274c766c916839a6d2e82025a46d7ee23e0
09:05:10 Verbose | Name Value
09:05:10 Verbose | ---- -----
09:05:10 Verbose | PSVersion 4.0
09:05:10 Verbose | WSManStackVersion 3.0
09:05:10 Verbose | SerializationVersion 1.1.0.1
09:05:10 Verbose | CLRVersion 4.0.30319.34209
09:05:10 Verbose | BuildVersion 6.3.9600.17400
09:05:10 Verbose | PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
09:05:10 Verbose | PSRemotingProtocolVersion 2.2
09:05:11 Info | Finding path to package step: Download web app
09:05:11 Info | Package was installed to: C:\Octopus\Applications\Azure Prod\BackOfficeForms.Service\1.0.106_1
09:05:11 Info | Publishing Website
09:05:11 Verbose | new-object : Cannot find type
09:05:11 Verbose | [Microsoft.Web.Deployment.DeploymentBaseOptions]: verify that the assembly
09:05:11 Verbose | containing this type is loaded.
09:05:11 Verbose | At C:\Octopus\Work\20161024230507-468\Script.ps1:64 char:20
09:05:11 Verbose | + $destBaseOptions = new-object Microsoft.Web.Deployment.DeploymentBaseOptions
09:05:11 Verbose | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
09:05:11 Verbose | + CategoryInfo : InvalidType: (:slight_smile: [New-Object], PSArgumentExcepti
09:05:11 Verbose | on
09:05:11 Verbose | + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewOb
09:05:11 Verbose | jectCommand
09:05:12 Fatal | The remote script failed with exit code 1
09:05:12 Verbose | at Octopus.Worker.Scripting.ScriptResult.EnsureSuccessful() in Y:\Work\refs\tags\3.4.11\source\Octopus.Worker\Scripting\ScriptResult.cs:line 69
| at Octopus.Server.Orchestration.Deploy.Guidance.Execute(Action callback) in Y:\Work\refs\tags\3.4.11\source\Octopus.Server\Orchestration\Deploy\Guidance.cs:line 50
| at Octopus.Server.Orchestration.Deploy.DeploymentTaskController.ExecuteWithTransientErrorDetection(Action action, Machine machine) in Y:\Work\refs\tags\3.4.11\source\Octopus.Server\Orchestration\Deploy\DeploymentTaskController.cs:line 389
| at Octopus.Server.Orchestration.Deploy.DeploymentTaskController.ExecuteActionAndInitLoggingContext(PlannedStep step, Machine machine, PlannedAction action) in Y:\Work\refs\tags\3.4.11\source\Octopus.Server\Orchestration\Deploy\DeploymentTaskController.cs:line 285
09:05:12 Fatal | Web Deploy - Azure Production on cloud-deploy

Hi Matthew,

Thanks for getting in touch! Would you mind providing a screenshot of your project -> process page as well as a full deployment log: http://docs.octopus.com/display/OD/Get+the+raw+output+from+a+task

Hopefully that will help give some context to the issue so we can determine the problem.
Vanessa

Thanks vanessa. I’m closing this as the problem was our corporate proxy.