Issue: During deployment of IIS App, deployment use to fail on purging directory step if any file open on server by anyone.
Step to Produce the issue:
- Open Application Installation Directory On server > Open any config file > update anything in file > save it.
- Try to deploy through Octopus, deployment will fail.
Conclusion : if config file version mismatch and open at server then deployment will fail.
Need to check on Octopus Forum : If we are trying to delete files manually in above scenario,we will be able to delete files.
Do we have any solution to avoid this kind of failure. Thanks