On my local machine, I am trying to delete a web site as follows and fail in both approaches. Rebooting local machine does not help.
- Delete Web site via Computer Management Console in IIS.
- Delete web site folder under c:\inetpub\wwwroot\mysite
I get the following error dialog:
Cannot delete mysite: Access is denied.
Make sure the disk is not full or write-protected and that the file is not currently in use.