Xerratus
Happily stressed out, since 1974


 
Monday, December 04, 2006
<< Christmas Tree Lighting at Pioneer Courthouse Square
Set VS 2005 to always "Run as Administrator" in Vista >>

Well I've made the switch to Vista Ultimate over the weekend and so starts the fight with Windows to allow all of my programs to get along.  First on my list, Visual Studio 2005!

Installation was a snap, although there are known compatibility issues.  My first problem came when I opened up one of my solutions, a web application, and tried to debug it.  Bam! "Unable to start debugging on the web server".  Ouch, that hurt.

Ok, so I read up a little and find 2 great articles on solving the problem:

Scott Gu's Blog (Tip/Trick: Using IIS7 on Vista with VS 2005) and

Bradley Millington's Blog (Developing Web Applications on Windows Vista with Visual Studio 2005)

I followed both of them but still got the above error.  Don't get me wrong, you DO need to follow their solutions but you also have to do one more thing that neither outlined; change the application pool in IIS7 for the site in question from "DefaultAppPool" to "Classic .NET AppPool".

Here's how:

Open IIS7 and navigate to the Application under "Default Web Site"

Right click the Application and click "Advanced Settings..."

Select "Application Pool"

In the drop down, change to "Classic .NET AppPool"

Click "OK" and you're finished.