IIS Manager Error - HRESULT 0X80070020 - THE PROCESS CANNOT ACCESS THE FILE BECAUSE IT IS BEING USED BY ANOTHER PROCESS

In IIS6.1 I was trying to start my Default Web Site and was getting the following error screen.












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

Above error is coming because default port 8080 is not assigned to system. So default website under IIS manager is not able start. 
To Resolve the above error i followed the below steps, and it worked for me.

Step 1 - Go to run, type cmd, command prompt will appear.

Step 2 - We need to find which process is using the default port 8080. To find this type the below command in your command prompt. "Netstart -ano

It will show the default port is using by using process.




Step 3 - As per above screen the port 8080 is using by the process 3152. Now we need to find which application is assigned for process id 3152.
Type "tasklist /fi “PID eq 3152in your command prompt and see the result.





As per the above screenshot the skype application is using the port 8080. we need to kill skype application manually through task manager. 

Step 4 - Start your default website in IIS manager. It will work.

Please try the above described steps, it worked for me.



Post a Comment

0 Comments