IIS Prompts "another program is using this file and the process cannot access it." (Exception from hresult:0x80070020) "Workaround

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.