Search code examples
asp.netiisiis-6web-configlocking

web.config locked by w3wp.exe


I've got a weird problem. It looks like if my IIS6 locked an application's web.config. If I try to edit it, Windows complains that the web.config is used by another process.

Using Process Explorer I can see that the file is owned by w3wp.exe. Removing the virtual directory and stopping the website wasn't useful at all.

Any idea (I cannot stop the whole server since a lot of sites are hosted in it)?

Thanks in advance


Solution

  • I would try stopping the application pool for the website that is accessing the web.config.