0% found this document useful (0 votes)
781 views

The Format of The Specified Network Name Is Invalid' - IIS Error 0x800704BE - Sai - A Programmer's FAQ

The document discusses an error message "The format of the specified network name is invalid" that occurs in IIS. It describes troubleshooting steps taken to resolve the issue: 1) The error occurred after moving a VM from a private server to Amazon EC2, likely due to changed IP bindings. 2) Using netsh, the author found IIS was still bound to the old static IP. 3) Removing this binding and adding a binding for all IPs using netsh resolved the issue, allowing the IIS sites to start again.

Uploaded by

muji ono
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
781 views

The Format of The Specified Network Name Is Invalid' - IIS Error 0x800704BE - Sai - A Programmer's FAQ

The document discusses an error message "The format of the specified network name is invalid" that occurs in IIS. It describes troubleshooting steps taken to resolve the issue: 1) The error occurred after moving a VM from a private server to Amazon EC2, likely due to changed IP bindings. 2) Using netsh, the author found IIS was still bound to the old static IP. 3) Removing this binding and adding a binding for all IPs using netsh resolved the issue, allowing the IIS sites to start again.

Uploaded by

muji ono
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

16/8/2020 ‘The format of the specified network name is invalid’ – IIS Error 0x800704BE | Sai - A Programmer's FAQ

Sai – A Programmer's FAQ


青海长云暗雪山,孤城遥望玉门关;黄沙百战穿金甲,不破楼兰终不还。— 王
昌龄 【从军行】

Feb
05 ‘The format of the specified network name is
invalid’ – IIS Error 0x800704BE
[Origin]: http://www.therealtimeweb.com/index.cfm/2011/10/24/iis-error-
0x800704BE

Posted by Stefan Richter in Windows, Amazon AWS | 35 Comments

Oh don’t you just love cryptic error messages that could mean one
hundred and one things? Yeah, me too.

So in the interest of some poor soul (maybe it’s you searching on this
topic in the year 2142 I decided to point out what resolved this issue for
me.

Background: I am running Windows Server 2008 R2 with IIS inside a


Hyper-V instance. The VM was configured with a static IP and each IIS
site was configured to bind to that IP, and that IP alone.
I transferred the VM to Amazon EC2 (using the ec2-import-instance API)
since I wanted to move away from having to maintain my own physical
hardware. Long story short, once transferred I was unable to start any of
the IIS sites, they all failed with the error ‘The format of the specified
network name is invalid – Error 0x800704BE’.

I knew that this error was likely related to IP bindings of some kind (EC2
usually expects you to use DHCP for IP address assignment since even an
elastic IP can change) so I tried binding a few IIS sites to ‘all’ IPs. Still the
sites would not start, but throw the above error.

I dug deeper and used the netsh utility (Windows commandline) to show
which the network configuration for the machine, and in particular which
IPs the HTTP service listens to:

1 netsh http show iplisten

This listed just one (the previous static) IP of my VM – this was now
Privacy & Cookies:
wrong.This
So site uses cookies.
I removed By continuing
the binding with to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
1 netsh http delete iplisten ipaddress=11.22.33.44 (where 11.22.33.4
Close and accept

https://tangjunjie.wordpress.com/2018/02/05/the-format-of-the-specified-network-name-is-invalid-iis-error-0x800704be/ 1/4
16/8/2020 ‘The format of the specified network name is invalid’ – IIS Error 0x800704BE | Sai - A Programmer's FAQ

Next set the service up to listen to all IPs:

1 netsh http add iplisten ipaddress=0.0.0.0

I then restarted IIS using

1 1iisreset

and bingo, the sites started to work.

Hope this helps someone.

Advertisements

REP ORT T H I S AD

Share this:

 Twitter  Facebook

Like
Be the first to like this.

Posted in Batch, IIS

Tagged Batch, IIS

Leave a Reply

Enter your comment here...

← IIS does not list a website that What is the difference between
matches the launch url const and readonly? →

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
NOTE:
Close and accept
Most of the contents here are collected from Internet to serve as a personal
note and share with others who will also find it useful, in case you are the

https://tangjunjie.wordpress.com/2018/02/05/the-format-of-the-specified-network-name-is-invalid-iis-error-0x800704be/ 2/4
16/8/2020 ‘The format of the specified network name is invalid’ – IIS Error 0x800704BE | Sai - A Programmer's FAQ

author and have felt offended by this approach, please accept my apologies
and let me know ASAP to remove it.

Thank you all for those great posts, you guys rocks!

Search Search

February 2018

M T W T F S S

1 2 3 4

5 6 7 8 9 10 11

12 13 14 15 16 17 18

19 20 21 22 23 24 25

26 27 28

« Jan Mar »

TAGS

.NET ajax Algorithm AngularJS Appearance apt-get ASP.NET ASP.NET

MVC ASP.NET MVC ASP.NET Web API Bash Batch


BSC C# Chrome C ore C oncepts CRM Debug Dired Dynamics C RM EF

Elisp Emacs Encoding Entity Framework Evil Excel GCC Git


HTML5 IE IIS ISO-8859-1 JavaScript jQuery JSON K2 K2
blackpearl K2 blackpearl Linux Magit MSMQ Network Node.js Oracle
org-mode PL/SQL Plug-in PowerShell Python Regex Registry Security Shell

SQL SQL Server SSIS T-SQL T-SQL Terminology Tips U2


Ubuntu Unicode UniData UTF-8 VBA Visual Studio WC F WF
Windows Wine WordPress Xfce XML
REC ENT POSTS
How to Transpose Columns and Rows Using Paste Special in Excel
Maximum request length exceeded.
SQL RANK
When to Use Temporary Tables vs. Table Variables
Accessing UniData through .net

TOP POSTS & PAGES


Wait until ActiveWorkbook.RefreshAll finishes - VBA
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
'The format of the specified network name is invalid' - IIS Error 0x800704BE
To find out more, including how to control cookies, see here: Cookie Policy
Transaction count after EXECUTE indicates a mismatching number of BEGIN
and COMMIT statements. Previous count = 1, current count = 0
Close and accept
The specified cast from a materialized 'System.Int32' type to the
'System.Boolean' type is not valid.
https://tangjunjie.wordpress.com/2018/02/05/the-format-of-the-specified-network-name-is-invalid-iis-error-0x800704be/ 3/4
16/8/2020 ‘The format of the specified network name is invalid’ – IIS Error 0x800704BE | Sai - A Programmer's FAQ

C ATEGORIES
Select Category

ARC HIVES
Select Month

SAI – A PROGRAMMER’S FAQ


RSS - Posts

FOLLOW ME ON TWITTER

Tweets by @ghost_sai

Sai
@ghost_sai

Learn React.js from Top 50 Articles for the Past Year (v.2019) by @Mybridge
medium.mybridge.co/learn-react-js…

Embed View on Twitter

Follow Sai - A Programmer's FAQ

BLOG STATS
29,312 hits

META
Register
Log in
Entries feed
Comments feed
WordPress.com

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Close and accept

https://tangjunjie.wordpress.com/2018/02/05/the-format-of-the-specified-network-name-is-invalid-iis-error-0x800704be/ 4/4

You might also like