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

June 19, 2009

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!

Remote Desktop MMC

June 8, 2009

This is a great shortcut that can save the average, over-worked IT guy many moments of sanity!
Find all of your remote desktop sessions in one convenient place and have the ability to log into them autmatically. This tool is free because it uses Microsofts built-in MMC snap-ins. To get started, follow these easy steps…

1. Go to Start > Run type MMC and press enter.
mmc1

 

 

 

 

 

 

2. Next Goto File > Add/Remove Snap-In Scroll down until you see the Remote Desktops Snap-in and click Add. Click Ok, to accept and exit to the main screen.
mmc2

 

 

 

 

 

 

3. You will now find your Remote Dekstop Snap-in under the Console Root directory. Right-click this icon and choose Add New Connection.
mmc3

 

 

 

 

 

 

 

 

 

4. Enter in your Remote Desktop information, you can also choose to enter in your username and password, which will allow you to automatically log-in. Checking the “Connect to console” is the same as using the /console switch when connecting via MSTSC.
mmc4

 

 

 

 

 

 

Save your MMC as a shortcut on your desktop for quick and easy access. As far as I am aware there is not a limit to the number of sessions or remote desktop connections you can have. Sit back and enjoy connecting to multiple servers without cluttering your desktop.