Web Deploy cannot modify the file on the destination because it is locked by an external process while deploying to IIS server through azure pipeline

Tahami Rizwan 45 Reputation points
2023-08-16T10:58:54.3233333+00:00

I am facing the issue while deploying .netcore api from azure pipeline CD to IIS server on-prem that :**cannot modify the file on the destination because it is locked by an external process while deploying **

err

I have tried :

  1. enable take appoffline in CD
  2. stop application , deploy it and start application
  3. delete all destination file before deploying

But all these solutions doesn't effect

I will be thankful If anybody could help out

Community Center | Not monitored
{count} votes

1 answer

Sort by: Most helpful
  1. Justin N 5 Reputation points
    2023-10-12T16:38:21.4566667+00:00

    Did you ever get this resolved?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.