Unexpected Error 0x8ffe2740 Occurred


If you are using IIS 5.1 on XP and are being presented with an "Unexpected Error 0x8ffe2740 Occurred" error message when trying to start your website from the IIS Admin panel, then it is likely that you have a port conflict on your system. That's the easy part, now what do you do to track this conflict down and fix it?

Well, that actually isn't that hard either. By default IIS will try and bind itself to TCP port 80, so the first thing to do is track down which process is binding itself to this port. This could be anything from another webserver (such as Apache), or in my case Skype. To do this, open a command prompt window and type in the following;

netstat -anop TCP|find ":80 "
This will give you some details of what process is using TCP port 80, and unless you have a multihomed system you should only get one result here. The only information that you really need to be concerned about is the number that is display on the far right hand side. This is the PID (Process Identifier) which is a unique number given to a process by the system when it is initiated.

The next step is to match this PID with an actual process that you can identify. There are several ways you can do this, but probably the easiest way is to go back to your command prompt window and type this in (where the number 1234 is the PID number from the previous step);

tasklist /SVC /FI "PID eq 1234"
What this will do is associate the PID number you enter with a process name which will be displayed on the far left, and on the far right will be the name(s) of any related services.This should give you a pretty clear picture of what software is binding itself to TCP port 80, and from there it is a matter of either reconfiguring that software to use a different port number or disabling it while IIS is in use. Of course on the flip side you could always reconfigure IIS to use a different port number as well. Either way, you should now be able to take action so you can start your website from the IIS Admin panel.

Average rating
(30 votes)


Anonymous's picture

thank you vary much

thank you vary much

Anonymous's picture


Thank you very much!
You saved my day :)


Anonymous's picture

thank you!

Great thanks!
Kiss Kiss! ;)

Anonymous's picture

Thanks alot It is solved that error

Because my skype using that 80 so stooped that process and started iis it is working fine Thanks alot

Anonymous's picture

IIS is not working on port 80

HiBrashquido its very useful.. great...

Brashquido's picture


You can't have two separate processes using the same port on the same IP address. If you can't find what process is occupying TCP port 80, then another option is to multihome your system. All this means is that you assign it a secondary IP address and then bind IIS to that second IP.

Dominic Ryan
6 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster

Anonymous's picture

Very good instruction. It

Very good instruction. It worked.