I have a ASP.NET website application deployed in QA server, for example, the project files are at directory: ...wwwroot/TestApp1
And of course it's configured in IIS and everything is working fine.
Now I want to rename this directory name to wwwroo/TestApp2
It reported error: "cannot rename TestApp2: Access is denied.
Make sure the disk is not full or write-protected and that the file is not currently in use."
I've stopped IIS, but still got the same error message. When I tried to delete the directory, the same error happened too.
Maybe it's because the file is currently in use? How could I disable all the use of this website (I've closed all the known usae of this website) and could rename it in the server? Thanks.