Welcome to MSDN Blogs Sign in | Join | Help

Run VS2005 as Administrator on Vista when debugging

I recently was doing some ASP.NET 2.0 work (sometimes it's good to mix up what you work on, ya know) and I had a problem where I could not debug my ASP.NET application on Vista.  It was weird because the debugger would start, but then would exit immediately.  The webpage would come up just fine, javascript and server side components worked perfect, but it would just not be in debug mode. 

I couldn't find anyone having a similar problem (or I'm just not good at finding it), but I eventually did find that some people were having other problems with debugging ASP.NET on Vista.  I decided to try a solution that others were using, which actually was something I had used to solve a few other problems I'd had on Vista, which was to right-click VS2005 and run it as Administrator.  Unsurprisingly, this fixed the problem. 

 I write this blog to simply help someone who is having similar problems.

Keywords: f5 debug debugging vista vs2005 vs 2005 visual studio asp asp.net asp.net 2.0 exit

Published Monday, January 15, 2007 3:50 PM by kanggatl

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Run VS2005 as Administrator on Vista when debugging

Thursday, January 25, 2007 11:01 AM by soft123123

come here everyday to see if there is something new about phoenix, hehe :)

# re: Run VS2005 as Administrator on Vista when debugging

Monday, February 05, 2007 2:04 PM by kanggatl

I get the hint, I can pick up the pace.

# re: Run VS2005 as Administrator on Vista when debugging

Sunday, April 22, 2007 1:30 PM by faiz Mohammed

Hi,

 i was also facing the same problem of not able to debug VS2005 in vista, any way your blog has helped me out.

keep posting.......

# re: Run VS2005 as Administrator on Vista when debugging

Friday, July 06, 2007 7:08 PM by filterfilt

Thx - i´got the same problem, perhaps it was the Wauv effect :-)

# re: Run VS2005 as Administrator on Vista when debugging

Wednesday, August 15, 2007 3:43 PM by Su

This was very helpful. Thank you!

# re: Run VS2005 as Administrator on Vista when debugging

Wednesday, November 28, 2007 4:15 AM by Chirag Darji

Hi,

   Thank you very much. It is really helpful.

# re: Run VS2005 as Administrator on Vista when debugging

Friday, March 28, 2008 5:18 AM by gani

What I did is right click on VS2005, then Properties and go to Compatibility tab and check Run as Administrator :)

# re: Run VS2005 as Administrator on Vista when debugging

Monday, May 12, 2008 7:33 PM by Eli

Thanks for the help, solved my problem. However I have to open devenv.exe first then load my solution file. It seems I can't right-click my .sln file and run that as Admin :(

But beggars can't be choosers

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker