Why do I get “file is used by another process” errors when I debug within Visual Studio?

To be honest with you, it sounds like a bug in VS2010. For some reason it isn’t closing the open handles when the debugger stops. Killing the VS process automatically closes those handles, allowing you to access the file again. As a work around, you might look at unlocker it’s free and works exceptionally well. I know that’s not a great answer, but it should be faster than restarting VS. You might to consider sending a bug report too…

Unlocker doesn’t work on 64-bit OS, LockHunter does though.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)