When I try to start the IIS I got: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
Even after reboot it wasn't working
Because this took my quite a while I post this answer hoping this wil losave some one time.
The short described solution
I had to close skype before starting the iis
The details
There are many reasons for this error. mostlikely when port 80 is blocked by another software.
Now Skype uses port 80 and if it is started before iis the port of my default website (80) is blocked.
You can check which application is blocking your port by using netstat
NETSTAT -ano
or any software which shows you who is occupying which port.
btw. in the case of skype it is using another poirt when 80 is used so you won't have any further problem with this
put the iis service into automatic? this would ensure that iis would use available resources before anyone would attempt to.
ON SKYPE: Tools -> Connection Options -> Connections and uncheck the box "use port 80 and 443 as additional incoming connection". pls try and confirm.
You can check which process use port 80 or 433, use
netstat -aon | more
command in command promt. You can see Pid (process id). Stop process in Task Manager (find it by id) Than restart IIS. Check this out: http://www.howtogeek.com/howto/28609/how-can-i-tell-what-is-listening-on-a-tcpip-port-in-windows/
User contributions licensed under CC BY-SA 3.0