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



