Wednesday, 28 March 2007

Visual Studio 2005 & Vista & Debugging web apps

I have just started using vista and I couldn't get Visual Studio 2005 (sp 1) to debug a web application in Internet Explorer.

The issue was because I wasn't running it with its elevated permissions, so it couldn't attach to the IE processes.

To fix it right click on the shortcut to Visual studio 2005, select properties. Go to the "Compatibility" tab and tick "Run this program as an administrator" as shown below.

The other option is to turn of UAC - this fixes the problem as you always run it with Admin permissions




Anonymous said...

Thanks for this. I tried your suggestion but I still can't get to debug my code!!
Vista Hey! Who needs it!!

Anonymous said...

yup. that dit it for me!

Krisdev said...

It worked for me too.. Thanks a lot..


Thank you very much i was struggling for this,

Thanks a lot again