Hello,
I have installed the IIS Application - Create step template from the octopus deploy library. However when I run the step it always fails with no real good error information. The web server has the correct configuration for that step but the step fails. Here is the error. I have also attached a screenshot of the IIS Application - Create configuration info. Any ideas why this is happening when the server configuration seems to be fine after the step fails?
Attempt 1 of 5 failed: Property preloadEnabled is not found on \SERVER1\Sit
16:02:10Info
es\Default Web Site\MyWebApp
16:02:10Info
Parameter name: propName
16:02:10Info
Waiting for 1 seconds before retrying…
16:02:11Info
Retrying…
16:02:11Info
Creating web application ‘MyWebApp’
16:02:11Info
Attempt 2 of 5 failed: Destination element already exists, please use “force” p
16:02:11Info
arameter to override.
16:02:11Info
Waiting for 1 seconds before retrying…
16:02:13Info
Retrying…
16:02:13Info
Creating web application ‘MyWebApp’
16:02:13Info
Attempt 3 of 5 failed: Destination element already exists, please use “force” p
16:02:13Info
arameter to override.
16:02:13Info
Waiting for 1 seconds before retrying…
16:02:13Info
Retrying…
16:02:13Info
Creating web application ‘MyWebApp’
16:02:13Info
Attempt 4 of 5 failed: Destination element already exists, please use “force” p
16:02:13Info
arameter to override.
16:02:13Info
Waiting for 1 seconds before retrying…
16:02:15Info
Retrying…
16:02:15Info
Creating web application ‘MyWebApp’
16:02:15Error
Failed to execute command
16:02:15Error
At C:\Octopus\Work\20160130000159-1\Script.ps1:64 char:13
16:02:15Error
-
throw <<<< "Failed to execute command"
16:02:15Error
+ CategoryInfo : OperationStopped: (Failed to execute command:Str
16:02:15Error
ing) [], RuntimeException
16:02:15Error
+ FullyQualifiedErrorId : Failed to execute command
16:02:15Error
16:02:15Error
The remote script failed with exit code 1