IIS Won’t Start - The format of the network name is invalid.

June 19, 2009 · Print This Article

 
 

TipThe format of the network name is invalid.
If you see this error, make sure your server is actively listening on a bound ip address.

In a command prompt type the following:
httpcfg query iplisten
This will show you the IP addresses listening on port 80.

Note: If you receive an error that says, ‘httpcfg’ is not recognized as an internal or external command, operable program or batch file., then you will need to download the library. You can do so from here: http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&displaylang=en

If your query comes up blank, simply type the following command:
httpcfg set iplisten -i ipaddress
Where the IP address is the one you want to listen on.
(You may need to reboot before these changes take effect.)

Finally you can start up IIS again with the following command:
iisreset

Enjoy!

StumbleUpon It!

Related Topics

Comments

Please leave us your comments.