The action can't be completed because the file is open in IIS Worker Process

Posted by Bjørn Øyvind Halvorsen on Server Fault See other posts from Server Fault or by Bjørn Øyvind Halvorsen
Published on 2012-05-30T09:52:09Z Indexed on 2012/05/31 4:42 UTC
Read the original article Hit count: 1115

I have a windows server 2008 R2 running a couple of sites for me, while developing i usually post updates to this server. Now, i tried posting an update but it failed said it has a file in use and the error msg is as follows:

"The action can't be completed because the file is open in IIS Worker Process"
"Close the file and try again."

I have tried stopping the site but this does not help. The site is running in the same application pool as the site that should stay online so a recycle might be breaking the running site (If this is wrong, please correct me).

Question is: Is there a way to "Release" the lock that is put on the file without stopping other currently running sites?

© Server Fault or respective owner

Related posts about windows-server-2008-r2

Related posts about iis7.5