Hi,
I’m deploying a “IIS web site and application pool” using it out of the box, and I don’t know why only sometimes the enabled protocol is msmq.formatname (which was enabled in the previous deployment), so when starting up the site it fails, because the only binding that exists is http in port 80.
So it looks like when redeploying, it doesn’t rewrite the enabled protocols property to set it to http.
The error I get when starting the website in octopus beforepostdeploy is:
The object identifier does not represent a valid object. (Exception from HRESUL
Error 16:52:16
T: 0x800710D8)
Error 16:52:16
At C:\Program Files\Octopus Deploy\Tentacle\Scripts\Octopus.Features.IISWebSite
Error 16:52:16
_BeforePostDeploy.ps1:68 char:10
Error 16:52:16
-
throw <<<<
Error 16:52:16
+ CategoryInfo : OperationStopped: ( [], COMException
Error 16:52:16
+ FullyQualifiedErrorId : The object identifier does not represent a valid
Error 16:52:16
object. (Exception from HRESULT: 0x800710D8)
Thanks,
Miguel