Visual Studio 2005 Web Development under Vista

Monday, July 21st, 2008

I have had an issue today with Visual Studio 2005 and Vista today, specificly I have been unable to use the built in mini-web server that is used for debugging web projects. When you run a project from within the development environment it starts WebDev.WebServer.exe and then points an instance of Internet Explorer at http://localhost:port/path/to/default.aspx.

Now I remember this working well in the past, and indeed if I replace localhost with it worked fine, I didn’t fancy having to type this every time I went to build and run a program. I could not find any way of configuring Visual Studio to point to the IP address rather than the host name.

Upon trying to ping localhost (fairly futile I understand but I was getting desperate) I noticed that packets were being returned over IPv6 (::1:) rather than IPv4 (, my first port of call was to disable IPv6 on the NIC – which unsurprisingly didn’t work as anything to do with localhost shouldn’t use the NIC, and unlike Linux; Windows does not appear to expose the loopback adapter to the end user.

The soloution as it turns out was to remove the IPv6 record for localhost from %WINDIR%\etc\drivers\hosts. Editing this file requires an instance of notepad.exe to be running as a local administrator (i.e. press the windows key, type “cmd”, right click cmd.exe in the list and choose “Run as Administrator”. I realised had this before, in the time between then and now all trace of the problem occuring was wiped from my memory leaving only the soloution in my head. Never mind all working now!

New Computer

Friday, August 31st, 2007

I never got round to getting the money together for the last computer I wanted to build, so I have started again from scratch, the following is intended to run [[Wikipedia:Windows Vista]] Ultimate in my current [[Wikipedia:Cooler Master]] 210.

  • 1 x [[Wikipedia:Abit]] IP-35 Pro (Abit Website)
  • 1 x [[Wikipedia:Intel Core 2]] Quad-Core Q6600 G0 SLACR (Intel Website)
  • 2 x 2GB [[Wikipedia:Corsair Memory|Corsair]] TwinX XMS2 PC5400 (Corsair Website)
  • 1 x 520W Corsair HX Series Modular PSU (Corsair Website)
  • 1 x [[Wikipedia:Optiarc]] AD-7170A-0S 18x DVD±R (Optarc Website)
  • 1 x 640MB [[Wikipedia:EVGA]] [[Wikipedia:8800GTS]] Superclocked (EVGA Website)
  • 1 x 320 Gb [[Wikipedia:Seagate Technology]] ST3320620AS Barracuda 7200.10 (Seagate Website)
  • 1 x 22″ [[Wikipedia:Samsung]] SM-226BW Black Widescreen LCD (Samsung Website)

If anyone reading this has any thoughts please leave a comment, hope to get the whole lot for just over £1000.

Vista is the issue

Wednesday, August 29th, 2007

I am currently trying to diagnose several Windows XP SP2 computers with severe network problems, the bottleneck is in the network. Whilst deploying a group policy object the Windows Installer Service crashed due to a network time-out, and this was the resultant response from Error Reporting:

Problem with Windows XP is Windows Vista

So there you go the problem with Windows XP is Windows Vista!