RTC debugging attach to process UAC

SogSog Member Posts: 1,023
edited 2012-01-09 in NAV Three Tier
Situation: OS Win 7, VS 2010, NAV 2009R2
Servicetier running local

[1]When I'm trying to debug, I go to the sourcefolder, select my object, doubleclick and the .cs file opens in VS2010.[/1]
[2]I select debug- attach to process - Select the Nav service.[/2] [3]Then I get the warning I can't debug because VS2010 is not running under Admin. I have to restart VS2010 and I can debug.[/3]

I don't want to execute [3/] every time. So I modify Devenv.exe with the property run as administrator.
But then [1/] fails. I doubleclick a file, the UAC demands my attention (not the problem), I select yes to allow the elevated privileges but then the error "Could not send to program" shows, opening an empty VS2010.

How do I get rid of the "Could not send to program"?
|Pressing F1 is so much faster than opening your browser|
|To-Increase|

Comments

  • deV.chdeV.ch Member Posts: 543
    Why don't you start your VS with right click, run as administrator and then open the source files via File-Open ?
  • SogSog Member Posts: 1,023
    That's currently the workaround that I use. But I still find it akward that changing the start-up mode to one with elevated privileges breaks the open from file functionality.
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
Sign In or Register to comment.