I have verified that I have only one site in IIS, and that’s the only one running on port 80. The WebSite runs fine after deploying with the correct version and IIS setup, but the portal says that the deployment failed due to that “file” already existing.
Setting it up manually in IIS to the deployed app dir and on port 80 works, and I’m able to browse to it.
I tried to remove all Sites in IIS, and let Octopus create it from scratch, but same error occurs.
Sorry for the delay! The error Cannot create a file when that file already exists usually that there’s a bindings conflict, and there is already a site running on the same IP address, port and if you’re using them, hostname. Can’t say for sure where is the duplicate binding that is causing this conflict, but providing a hostname seems to have worked, and I it sounds like a valid enough workaround