Hi - I have a ‘hello world’ site .Net 4.5. I packaged it using OctoPack. When I try and deploy it, I get this error. Interestingly, the only part of the path that exists:
C:\Program Files\Octopus Deploy\Tentacle\Scripts\Octopus.Features.IISWebSite_BeforePostDeploy.ps1
is:
c:\Program Files\
start-webitem : Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7)
At C:\Program Files\Octopus Deploy\Tentacle\Scripts\Octopus.Features.IISWebSite_BeforePostDeploy.ps1:233 char:3
-
Start-Website $WebSiteName
-
~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: ( [Start-WebItem], COMException
- FullyQualifiedErrorId : InvalidOperation,Microsoft.IIs.PowerShell.Provider.StartItemCommand
PowerShell script returned a non-zero exit code: 1