Articles
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.
- Add new comment
- 34312 reads

Comments
RE: Unexpected Error 0x8ffe2740 Occurred
Great!!
Thanks a lot!!
RE: Unexpected Error 0x8ffe2740 Occurred
This really helped. Many thanks :)
RE: Unexpected Error 0x8ffe2740 Occurred
This is very helpful and sorted well. nice commands
Not a problem, my pleasure
Not a problem, my pleasure :) !
----------------
Dominic Ryan
4 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster
Really Useful.
This really useful.Nice explaination and helpful steps.Thanks
Thanks very much, i
Thanks very much, i experienced this problem after reinstalling IIS 5.1 - Skype took over port 80...why would it do that?
Skype uses the port for
Skype uses the port for incoming connections, though I have no idea why really when it is already allocated to HTTP traffic.
----------------
Dominic Ryan
4 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster
Firefox Using my Port 80
Your Solution solved my Problem. Thanks a Lot.
tnks!!
gracias!!!! fue de gran ayuda.
google tanaslate XD...
thanks!! was a big help.
Thanks
Hello,
Thanks for such a valuable information.
I have Apache.exe that is configured with my machine and is using the default port as 80. I need to set the default port as 80 for IIS. Any idea on how i can achieve this. I tried the process that u explained here and i am also stopping apache.exe process and starting IIS again but its not helping me.