« Previous Next »

Thread: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

Last post 10-29-2009 8:36 AM by hedrinjt. 41 replies.

Average Rating Rate It (5)

RSS

Page 1 of 3 (42 items) 1 2 3 Next >

Sort Posts:

  • 03-13-2007, 2:16 PM

    • kjetilso
    • Not Ranked
    • Joined on 03-13-2007, 6:06 PM
    • Posts 2

    IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    This is IIS 7 in Windows Vista Ultimate. The web site is stopped and when I try to start it the error message (in subject) appears.

    In EventLog(System) I get the following following errors:

    Source: HttpEvent

    Msg: Unable to bind to the underlying transport for [::]:80. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine. The data field contains the error number.

    --------------------------------------------------------------------------------------------------------------------------------- 

     Source: IIS-W3SVC

    Msg: The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://*:80/ for site 1. The site has been disabled. The data field contains the error number.

    I'm at a loss. I have no clue as to what is wrong. Any help would be greatly appreciated.

  • 03-13-2007, 2:47 PM In reply to

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    This is an issue with binding conflict. There is another application that is using port 80. If you change the bindings for the default website to 8080 [for test purpose] it will work.

    You can run NETSTAT -ano and find out the PID for the process that is using port 80, then you can compare that PID with the process name in task manager [may be skype.exe?]

    HTH,

    AJ

  • 03-13-2007, 2:55 PM In reply to

    • kjetilso
    • Not Ranked
    • Joined on 03-13-2007, 6:06 PM
    • Posts 2

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    Thank you, that solved it.
  • 03-21-2007, 11:08 AM In reply to

    • tmayville
    • Not Ranked
    • Joined on 03-02-2007, 2:09 PM
    • Clarendon AR
    • Posts 1

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    LOL.. Thanks for the heads up.. I just loaded skype and was having problems after this... Been pulling my hair out trying to get to the root cause, I did the netstat and found a listener on 80 but the pid really didn't give a good indication...

    I wanna move skype off 80... That seems to be a better method since I have control of my router... I might just delay start skype so IIS will own the port first, see if that causes "Smart Skype" to move off the port...

    Anyway, Thank you! I didn't think skype was on it...

    Tm. 

     

     

     

  • 03-26-2007, 4:29 AM In reply to

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    Yes, skype will change to other port if 80 is taken.

    I have been using IIS and skype for quite sometime.
    Cheers,
    Bernard Cheah
  • 02-20-2008, 11:32 AM In reply to

    • Quame
    • Not Ranked
    • Joined on 11-23-2004, 6:58 PM
    • Posts 1

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

     Hi, I have a similar issue and the solution on this post did not resolve my problem. Port 80 doesnt seem to be used by any program after running netstat -ano. I also changed the binding from 80 to 8080 just to try that and I still got the same error. I really need help as I have a site that I want to put up. Can someone help me resolve this issue PLEASE. I just cant start the default IIS website.

     

  • 02-23-2008, 11:54 PM In reply to

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    I would turn off all related IIS services, set them to manual, reboot your machine and type netstat -an -p tcp and see if anything is listening on port 80.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 04-05-2008, 2:09 PM In reply to

    • GKB
    • Not Ranked
    • Joined on 04-05-2008, 6:00 PM
    • Posts 1

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    Thank you, thank you, thank you.

    I've spent hours on the same problem, then read your forum and sorted within minutes.

    My problem was not skype but Kontiki hogging port 80.

    :)

  • 05-10-2008, 7:06 AM In reply to

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    Thank you for the pointer.

    Skype was indeed hogging port 80 and turning it off solved my problem as well.

    With Regards

    Shane Sukul

    |Bsc|Mcsd.Net|Mcsd|Mcad|
    .Net Architect/Consultant
    Ashlen Consulting Services Pty Ltd
    http://www.ashlen.net.au
  • 05-30-2008, 10:01 PM In reply to

    • sams5
    • Not Ranked
    • Joined on 05-31-2008, 1:58 AM
    • Posts 1

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    Thanks this has solved my problem in starting the Default Web Site.

    But when i tried to host the web site .. Im rec Service Unavailable 503 Error.

     Both the IIS server and Default Website are running.

     Suggestions my apperciated

     

     - Sam

  • 05-31-2008, 12:44 AM In reply to

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    did you reset IIS and make sure nothing was contending for port 80?  Check the httperr logs to see what error you are seeing. 

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 06-15-2008, 5:17 AM In reply to

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    Thanks guys, same problem with me here.

    Solved now.

     

    thanks again.

  • 11-11-2008, 9:52 PM In reply to

    • Nikoj
    • Not Ranked
    • Joined on 11-12-2008, 2:49 AM
    • Posts 6

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    I did netstat -ano and got this

     

    TCP    0.0.0.0:42             0.0.0.0:0              LISTENING       3540
    TCP    0.0.0.0:53             0.0.0.0:0              LISTENING       1460
    TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       1336
    TCP    0.0.0.0:81             0.0.0.0:0              LISTENING       3792
    TCP    0.0.0.0:82             0.0.0.0:0              LISTENING       3792
    TCP    0.0.0.0:88             0.0.0.0:0              LISTENING       452

     

    I didnt know what was pid 1336 i killed it, when i tried to start the wesite same error: cant start blablabla. And when i do netstat -ano it shows again, but when i try to kill it again id says that it dont exist.Any solution?

     

    Sorry for my bad english 

  • 11-12-2008, 8:23 AM In reply to

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    shows again? what PID then? what program is that ?

    Cheers,
    Bernard Cheah
  • 11-12-2008, 8:25 AM In reply to

    • Nikoj
    • Not Ranked
    • Joined on 11-12-2008, 2:49 AM
    • Posts 6

    Re: IIS Manager Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

    The same PID. It says http when i do -ao.

    But when i try to kill it says that it doesnt exisit that pid its wierd 

Page 1 of 3 (42 items) 1 2 3 Next >