Getting "The process cannot access the file because it is being used by another process" error when trying to start the Default Web Site
search cancel

Getting "The process cannot access the file because it is being used by another process" error when trying to start the Default Web Site

book

Article ID: 152662

calendar_today

Updated On:

Products

IT Management Suite Client Management Suite

Issue/Introduction

I am getting an error "The process cannot access the file because it is being used by another process" when trying to open the Default Web site. In the event logs I get an event ID 15005 and the below message:

Unable to bind to the underlying transport for 0.0.0.0: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.

Environment

ITMS 7.x, 8.x

Cause

This is a Microsoft IIS error. This behavior may occur if a port conflict exists on the system. By default, IIS uses port 80 for HTTP communication. If an application other than IIS is running and is using port 80 on the same IP address, you may receive the error message when you try to use IIS Manager to start the Web site.

For more information, see http://support.microsoft.com/?id=816944 or http://support.microsoft.com/kb/890015

Resolution

To resolve this problem, stop the application that is using port 80, and then start the Web site from IIS Manager.

A simple way to see if port 80 is used by other program is to run "netstat -ano" in the command prompt. Find port 80 (Local Address 0.0.0.0:80) and the corresponding PID. Use Task Manager's Process tab and PID column to identify the application using the PID. If Task Manager does not have the PID column displayed in the Process tab, click View > Selected Columns > PID (Process Identifier) and click OK. You may need to press the F5 key to refresh the Windows Task Manager to display the PID column. You may click on the PID column heading to sort the rows by the PID.

Note: The inetinfo.exe file is the "Image Name" for Internet Information Services (IIS).

Note: Applications are available on the Internet that can identify the port and what application is using it. One example is Fport, a free tool, from Foundstone, a division of McAfee.