Solved

Windows Server 2012 IIS 8 Default site not working

Posted on 2015-02-02
23
575 Views
Last Modified: 2016-02-29
I have just installed a new Windows Server 2012 essentials server and cannot get clients connected via the http://<server-name>/connect. I receive a 404 error.

On the server under IIS manager the default site will not start giving the message "This website cannot be started. Another website  may be using the same port" see attachment

This error makes no sense as this is a new server and there are no new apps to listening on port 80. I've checked the bindings and the only two entries are port 80 and port 443 for https.

One the SERVER MANAGER there are errors under the IIS EVENTS which are  "1007 - Error - Microsoft Windows-IIS-W3SVC"

The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://*:80/ for site 1. The necessary network binding may already be in use. The site has been disabled. The data field contains the error number.

As I said this is a new server on its own domain with no other applications loaded.

Help most appreciated.

KJP
iis8-error.png
0
Comment
Question by:kenpar51
  • 11
  • 9
23 Comments
 
LVL 8

Expert Comment

by:nader alkahtani
Comment Utility
try this  

"               netstat -aon | find ":80"

               netstat -aon | find ":443"

You will see an output similar to the following. Remember the actual PID will vary from case to case.

               TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       3604

               TCP    0.0.0.0:443           0.0.0.0:0              LISTENING       3320

Now using Task Manager you can easily find out to which process the above PID belongs and take appropriate action. "

you can end the service...etc
then restart waht do you another service
from http://support.microsoft.com/kb/973094

and this https://technet.microsoft.com/en-us/library/cc735170(v=ws.10).aspx
0
 

Author Comment

by:kenpar51
Comment Utility
Hi Nader

The only PID listening is PID 4 which is being run by SYSTEM NT Kernel & System so I don't want to shut that process down.

I have tried binding port 8080,8888,8081 with the same results keeps giving me the original error message.
0
 
LVL 18

Expert Comment

by:Peter Hutchison
Comment Utility
Could you send a screen shot of Task Manager so we can see what services are running?
Apache is known to use port 80, check if that is installed.
0
 

Author Comment

by:kenpar51
Comment Utility
Screenshot attached of tasks running.!

netstat-image.pngtasks-running.pngtasks-running1.png
0
 
LVL 18

Expert Comment

by:Peter Hutchison
Comment Utility
Try disabling the Web Root Secure Anywhere service and see what happens.
Also, check firewall settings and make sure inbound traffic for por t80/443 is allowed.
0
 

Author Comment

by:kenpar51
Comment Utility
Hi Peter

Sorry forgot to mention that I have tried with the Webroot software disabled and processes ended. Also the firewall has been disabled.

Thanks
0
 
LVL 18

Expert Comment

by:Peter Hutchison
Comment Utility
I noticed that you have WsusService.exe For Windows Server Update Services installed, which I know will use the IIS web server for deploying WSUS updates.
0
 

Author Comment

by:kenpar51
Comment Utility
Hi Peter

Stopped WSUS service restarted web server still same error message!
0
 

Author Comment

by:kenpar51
Comment Utility
I don't know if this is a clue but when I try and enable directory browsing I get the following error!

directory-browsing-error.png
0
 
LVL 18

Expert Comment

by:Peter Hutchison
Comment Utility
Try go to bindings in IIS and re-add http (port 80) to the default web site and make sure it is enabled.
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:kenpar51
Comment Utility
Hi Peter

I've tried re adding the ports but this didn't work. Could you explain what you mean by enabling it? where do you enable the bindings?

Many thanks
0
 
LVL 18

Expert Comment

by:Peter Hutchison
Comment Utility
I was going by this error:
The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://*:80/ for site 1. The necessary network binding may already be in use. The site has been disabled. The data field contains the error number.

Maybe removing and re-adding the Web Services may help, if its possible.
Alternatively, add and required additional Web components via Server Manager.
0
 

Author Comment

by:kenpar51
Comment Utility
This hasn't worked either, same errors. Even typing in localhost to the browser on the server ask me to login and will not accept the admin user!!

server-login.png
iis-web-sites.png
0
 
LVL 18

Expert Comment

by:Peter Hutchison
Comment Utility
Looks like the DEfault web site has the appropriate ports, but seems have been stopped.
Have you tried right clicking Default web site and select Start on the actions menu. Does that work?
0
 

Author Comment

by:kenpar51
Comment Utility
Hi Peter

I've tried that with no success! - Can't understand, a new server with new Server OS nothing complicated just asking for the basic services and it takes hours and hours of troubleshooting!!!
0
 
LVL 18

Expert Comment

by:Peter Hutchison
Comment Utility
Next thing to do is check permissions on c:\Inetpub\wwwroot, System ,Administrators and TrustedInstaller should have full control, the Users and IIS_IUSRS groups should have read/list rights. If thye not set you may need to re-gain ownership and reset the rights.
0
 

Author Comment

by:kenpar51
Comment Utility
Hi Peter

All permissions are correct as listed on wwwroot
0
 
LVL 18

Expert Comment

by:Peter Hutchison
Comment Utility
Can you check permissions for C:\Program files\Windows Server\Bin as well?
0
 

Author Comment

by:kenpar51
Comment Utility
The only difference from the permissions on wwwroot is the TrustedInstaller has read and special permissions, but when I look at the effective permissions is says TrustedInstaller has full control.
0
 
LVL 18

Accepted Solution

by:
Peter Hutchison earned 500 total points
Comment Utility
At this stage, I would recommend a reinstall as there is something seriously wrong with this installation..
0
 

Author Comment

by:kenpar51
Comment Utility
Hi Peter

Yes, it appears I'm banging my head against a brick wall here. I think reinstallation is the only option now!!

Many thanks for your assistance.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now