0
Posted on 2:26 AM by Softminer and filed under

I got this error on lanuching IIS 7.5

IIS Error: The process cannot access the file because it is being used by another process.

the problem was skype which was using port 80

with "netstat –ano" its possible to see the PID and the binded ports:

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

then in TaskManager you can find the PID of the corresponding application:


Error in event Viewer:

System log Event: 1004 Source: IIS-W3SVC Error received when trying to start the stopped web site:

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

To verify nothing else is using the x.x.x.x:80 IP address and port (which would be a different issue), launch administrative command prompt and type:
0
Responses to ... Error in Launching IIS 7