The IIS 6.0 installed at Windows 2003 Small Business Server refused to start. All web sites reported following error:
The format of the specified network name is invalid
Additionally in System event log following errors were logged:
EventID 1004 from W3SVC: Cannot register the URL prefix …. for site …. The site has been deactivated.
and
Event ID 1005 from HTTP: Unable to bind to the underlying transport for …. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine.
I checked if IIS websites were configured to listen on old IP address only… but no… they were set to “All unassigned”.
Also I checked if nothing blocks ports 80 and 443 when IIS is stopped….
After some research I found this Microsoft TechNet page: Configuring the IP Inclusion List (IIS 6.0) which mentiones both events and refers to “httpcfg” utility which is used for configuration of HTTP protocol bindings.
Unfortunatelly I was working at remote desktop without access to installation CD to install Windows Support Tools containing “httpcfg”. But the solution was quite simple…
What I did to fix:
- Opened the Registry Editor
- Navigated to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters”
- At “ListenOnlyList” registry value there was a reference to old IP address.
- Changed the old IP address to new one in “ListenOnlyList” value.
- Restarted HTTP service (“net stop http / net start http”)
- Restarted IIS service (“net stop w3svc / net start w3svc”)
And it works now…
Posted by Michał Krawczyk