IIS Prompts "another program is using this file and the process cannot access it." (Exception from hresult:0x80070020) "Workaround
Today, when doing server testing, the default Web site of IIS does not start, and how to get errors when trying to boot, such as:
Obviously, the 80 or 443 port is already occupied by another program, so this error occurs. To resolve this issue, find out which program consumes 80 or 443 ports, as follows:
1. Open cmd DOS mode window
2, enter in the window after entering Netstat-obna, in the column out the information to see if 443 ports and 80 ports are occupied. In my environment, one of VMware's services was found to occupy 443 ports, as shown in:
At this point, open the System Services Management window and stop the VMware worksation Server service. Disabled services such as:
When this service is stopped, the IIS Default Web site opens, such as:
IIS Prompts "another program is using this file and the process cannot access it." (Exception from hresult:0x80070020) "Workaround