Geeks With Blogs

News Awarded Microsoft MVP C#.NET - 2007, 2008 and 2009


I am born in Bangladesh and currently live in Melbourne, Australia. I am a Microsoft Certified Application Developer MCAD Chartered Member (C# .Net)and born in Bangladesh.
I am founder and Chief Executive Officer of
Simplexhub, a highly experienced software development company based in Melbourne Australia and Dhaka, Bangladesh. Co-founder and core developer of Pageflakes www.pageflakes.com.
Simplexhub, is on its mission to build a smart virtual community in Bangladesh and recently launched beta realestatebazaar.com.bd an ASP.NET MVC application written in C#.NET.


Some of My Articles
Flexible and Plugin based .Net Application..
Mass Emailing Functionality with C#, .NET 2.0, and Microsoft® SQL Server 2005 Service Broker'
Write your own Code Generator or Template Engine in .NET
Shahed Khan blog

Problem: I was trying to debug in Visual Studio 2005 in my new machine which came with Vista Home Premium. Surprisingly I found that none of the break points are touched and I cannot debug. I tried giving all types of permission to the folder but no luck.

 

Solution: After googling a bit, I found that I needed to run VisualStudio2005 as an Administrator, and everything started working as I expected.

So all I had to do is :
Right-click the Visual Studio icon and select the "Run as administrator" option from the context menu.

 

vs05run

Hope this saves some of your time.

Posted on Tuesday, March 18, 2008 2:39 PM | Back to top


Comments on this post: Visual Studio 2005 Debugging in Vista

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Thanks a lot!!!
I was very frustrated that debug was not working with VISTA.
Your suggestion was a great help for me!!!

Luca
Left by Luca on Jun 23, 2008 10:31 PM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Thanks a lot u sloved my problem
Left by MEDA on Sep 27, 2008 7:00 PM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Spot on!
Left by Diego on Oct 12, 2008 11:00 PM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Thanks you Shahed. I was also able to get instructions to set VS2k5 to run as administrator thru this link (http://www.howtogeek.com/howto/windows-vista/always-start-an-application-in-administrator-mode-on-windows-vista/). Hope this helps.
Left by Lolo on Nov 18, 2008 9:01 PM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
You really helped me with this one. Thanks a lot.
Left by Jonas on Dec 09, 2008 6:26 AM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Thanks, It helped
Left by chaitanya on Jan 23, 2009 8:12 AM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
great! thanks a lot.
Left by foolsday on Feb 25, 2009 4:56 PM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Dear Readers,

I had the same problem, and the above method works for me. Please try the same. This feature is enabled in the Windows and VS2005 to enable the system to run on minimal rights for security reasons.
Left by Prabhat Joshi on Mar 02, 2009 4:43 PM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Thanks very Much That Resolved Me.
Left by Raghav Khunger on Mar 06, 2009 8:35 PM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Thanks for sharing it ..really helped ah
Left by KOkulan on Mar 31, 2009 2:23 AM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Super thanks!!! =)
Left by Johan Steinrud on Apr 05, 2009 7:16 PM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Muchas gracias, felicitaciones muy bueno
Left by martin on May 10, 2009 12:03 AM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Greate help. This solved major problem. Even it solved other problem also like powerbuilder was also not running. But when I run it worked for me.
Debugging is also solved.
Thanks guys.
Left by Mohammad Ansari on May 11, 2009 8:49 PM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Thanks a lot.
Left by Gayatri on Jun 26, 2009 2:28 PM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Hi ,

Thanks a lot, i to had the same problem,
Debug in VS 2005 used to work for me in windows vista , suddenly it didn't work. I worked now as suggested by you ,

Thanks Again.!!!!
Left by Ananth on Jul 19, 2009 12:33 AM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
thanks again, you have a great idea.
Left by gabriel827 on Sep 15, 2009 2:50 PM

# re: Visual Studio 2005 Debugging in Vista
Requesting Gravatar...
Great. Thanks a lot. Your tip saved my valuable time and energy. Thank you.
Left by Vijendra on Sep 21, 2009 8:46 PM

Your comment:
 (will show your gravatar)


Copyright © Shahed Khan | Powered by: GeeksWithBlogs.net