Hi,
I have been trying to publish my web app using Web Deploy - Publish Website (MSDeploy), but it always throws this error,
I dont know hpow to resolve this, can anyone help me ,
Raw console of Task Log :
10:48:01 Verbose | Importing Azure Service Management PowerShell module
10:48:06 Verbose | Loading the management certificate
10:48:07 Verbose | Invoking target script C:\Octopus\Work\20160318051756-33\Script.ps1
10:48:07 Info | GAC Version Location
10:48:07 Info | — ------- --------
10:48:07 Info | True v2.0.50727 C:\windows\assembly\GAC_MSIL\Microsoft.Web.Deployment…
10:48:07 Info | Finding path to package step: deploy in Dev
10:48:07 Info | Package was installed to: C:\Octopus\Work\20160318051737-32
10:48:08 Info | Skipping delete actions on App_Data
10:48:08 Info | Publishing Website
10:48:08 Verbose | Exception calling “CreateObject” with “2” argument(s): “Could not find file
10:48:08 Verbose | ‘C:\Octopus\Work\20160318051737-32’.”
10:48:08 Verbose | At C:\Octopus\Work\20160318051756-33\Script.ps1:119 char:1
10:48:08 Verbose | + $deploymentObject =
10:48:08 Verbose | [Microsoft.Web.Deployment.DeploymentManager]::CreateObject(" …
10:48:08 Verbose | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10:48:08 Verbose | ~~~
10:48:08 Verbose | + CategoryInfo : NotSpecified: ( [], ParentContainsErrorRecordE
10:48:08 Verbose | xception
10:48:08 Verbose | + FullyQualifiedErrorId : DeploymentDetailedClientServerException
10:48:08 Error | The remote script failed with exit code 1
I have also attached the ServerTask file too…
PFA
Thanks,
Sathya