Start IIS "process cannot access the file" Exception from HRESULT: 0x80070020)

0

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

iis
iis-10
asked on Stack Overflow Apr 11, 2016 by Boas Enkler

4 Answers

2

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

answered on Stack Overflow Apr 11, 2016 by Boas Enkler
1

put the iis service into automatic? this would ensure that iis would use available resources before anyone would attempt to.

answered on Stack Overflow Apr 11, 2016 by kapitan
1

ON SKYPE: Tools -> Connection Options -> Connections and uncheck the box "use port 80 and 443 as additional incoming connection". pls try and confirm.

answered on Stack Overflow Apr 11, 2016 by kapitan
0

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/

answered on Stack Overflow Apr 11, 2016 by alexey • edited Apr 11, 2016 by alexey

User contributions licensed under CC BY-SA 3.0