Vipul Limbachiya Rotating Header Image

IIS Error while starting default website : The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0×80070020)

Hi Friends,

I was getting this error since last 2 days while starting default website and have no idea why it was showing this:

The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0×80070020)

But it was clear that another process/program is restricting my IIS default website to start.

Initial search on net helped me to find that process, and how to resolve it.

For my instance it was Skype that created this problem, in advanced settings of Skype you will find the option saying it to use port 80/443. Just uncheck that and close Skype, try restarting your default website then.

You can follow below steps to find any process that uses port 80/443 which can cause problem to your website to run:

Open command prompt (click on Start -> Run -> write CMD and press enter)

And run this command

NETSTAT -ano

That will list all process with assigned port, you will get PID (Process Id), and you can use this ID to find out which process/program is that from Windows Task Manager.

You can then kill that program or change its settings to fix this.

I changed settings for Skype and now its running quite well for me.

Thanks,
Vipul

VN:F [1.9.3_1094]
Rating: 5.0/5 (2 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
IIS Error while starting default website : The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020), 5.0 out of 5 based on 2 ratings
Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

4 Responses to “IIS Error while starting default website : The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0×80070020)”

  1. 1
    Nataly Says:

    That’s wired.

    VA:F [1.9.3_1094]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
  2. 2
    Aad Says:

    Thanks a mill, quickly solved my problem with your suggestions! Skype was the villain!

    Cheers
    Aad

    VA:F [1.9.3_1094]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
  3. 3
    solairaja Says:

    It worked for me.. thanks mill. the problem is skype.

    if possible let me know, how to run both things parallel.

    Becoz i am running IIS now by quiting the skype.

    VA:F [1.9.3_1094]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
  4. 4
    Vipul Limbachiya Says:

    Hi Solairaja,

    As I’ve already mentioned there is setting for port selection in Skype. Just uncheck it and you’ll be able to run them side by side again.

    in advanced settings of Skype you will find the option saying it to use port 80/443. Just uncheck that and close Skype, try restarting your default website then.

    Thanks,
    Vipul

    VN:F [1.9.3_1094]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.3_1094]
    Rating: 0 (from 0 votes)

Leave a Reply