Windows: Installing Virtual PC for Windows 7

Yesterday, I was trying to install Virtual PC for Windows 7, but it was taking ages to install. I even left it running overnight, but all it said, was:

Initializing installation... done!
Installing Update for Windows (KB958559) (update 1 of 1)...

I have just found this forum post that suggests un-installing any antivirus software, and then trying again:

Therefore, I disabled the anti-virus software that I had running, and the installation started working.

🙂 🙂 🙂

Windows: ASP.NET Development Server Problems Under Vista

Recently I have started to do a bit of web development using Microsoft Visual Studio 2008.  However, whenever I tried to view the site (which uses the ASP.Net Development Server as I am running it from the File System), I was always getting an “Unable to Connect” error in FireFox.

However, after doing some searching around using Google. I came across this blog which relates to Visual Studio 2005.

After searching the web many different ways I found out that Vista implements IPv6 (versus the old IPv4) and browsers may have issues resolving http://localhost.  Since I use both Internet Explorer and Firefox for web development I decided to try just copying the URL the ASP.NET Development Server was using and pasting manually into both browsers and the same result…nothing, no error, nothing.

It turns out others have had this same problem and you can turn off IPv6 in Firefox pretty easily.

Disable IPv6 in Firefox

  1. Type about:config in the address bar and press Enter.
  2. Scroll down until you find network.dns.disableIPv6.
  3. Double-click on it to change its value to true.
  4. Restart Firefox.

After restarting Firefox I pasted the address used by ASP.NET Development Server into the Firefox address bar….and it worked like a charm.  So, it seems IPv6 is the issue.

It worked for me 🙂