We are using the ‘IIS Website - Stop’ step from the Octopus library.
Unfortunately, after running this step we get an intermittent problem of the website becoming unavailable.
Site becomes unavailable in a strange way: when checking it in IIS the App Pool is active and running and the Web Site is also active and running.
However when making a request just navigating via a browser) it never reacts - not even with a timeout.
We never had this problem before octopus when using MSI.
Thanks for reaching out. That step is supposed to stop the site. Are you restarting it afterwards? If you can send me a deployment log, i’d be able to see what is going on your deployment.
Thanks for the info. The problem here seems to be that your site is not being fully released, and something is still holding up some of your files. So when Octopus tries to copy the new files on the deploy directory, it gets an error saying System.ArgumentException: Access to the path is denied.