iis 7.5 The format of the specified network name is invalid – IIS Error 0x800704BE

August 4, 2014

Problem IIS 7.5 is holding on to an IP and you cannot get it to listen to the right IP.

You might see this error message:

The format of the specified network name is invalid - IIS Error 0x800704BE

Solution

You will need to remove and add the listening ip via netsh (see below)

Determine Current IIS Listening

In the example below IIS is holding on to 192.168.1.19 (and you want 192.168.1.17 to be the IIS listening ip)

C:\>netsh http show iplisten

IP addresses present in the IP listen list:
-------------------------------------------

    192.168.1.19

Delete the listening IP

C:\>netsh http delete iplisten ipaddress=192.168.1.19

IP address successfully deleted

Add the new IP

C:\>netsh http add iplisten ipaddress=192.168.1.17

IP address successfully added

Restart IIS

C:\>iisreset

Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted

Sources

http://www.therealtimeweb.com/index.cfm/2011/10/24/iis-error-0x800704BE
http://www.iis.net/configreference/system.applicationhost/sites/site/bindings