Unable to debug new projects in Vista Business

martin_vista

Active member
Joined
Mar 26, 2007
Messages
29
Programming Experience
3-5
Hi,

I just got a new computer with Vista Business preinstalled. I installed VB.net 2005, everything seems to work fine. I copied my VB.NET projects from my old XP computer, it's no problem running the applications, opening them, changing, debuging and compiling, all is ok.
BUT....
If I start a new project and I start debugging I get an error message:
Error while trying to run project: Unable to start program
[full path an executable name]

Next a message telling me I am not authorized (it's in dutch...).

I have full administrator privileges on my computer. I have searched the internet for two hours for a solution ... no results.

Anyone knows what's going on here?
 
Probaby no help but in XP Start > Settings > Control Panel >

Administrative Tools ..you will see Net 1 or 2 or both Framework
Configuration and you can open by double clicking.
 
I know where you're pointing to, but that is not it.
If I build my new project, I can execute the exe without problems.
It is only the debugging that fails.

It looks like projects that are created in my new Vista don't work.
 
I found the solution:

I had to disable UAC.

Thanks.
 
OH boy now I see. Little more bad help is that I googled string below and
saw lots of sites. Glad you found it.

Error while trying to run project: Unable to start program
 
Yes, and if you take a closer look to the result of you googling, you'll see that they're all about something else...:)
 
Back
Top