heyday2004
asked on
"Access is denied" when I want to rename an ASP.NET website app deployed in another server.
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.
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.
ASKER
Thanks. Is there anyway to rename the file directory without resetting IIS because there are other applications on this IIS. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sometimes stopping iis from IIS manager doesn't work. Also close the VS .Net IDE before doing all this.
Anurag