Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Josef Stadelmann on April 15, 2011, 12:27:25 am
-
I have a larger VS solution with one project beeing a web service. This web service server needs to run as administrator on my local pc; hence I have to launch VS in "Run As Administrator" as well. Then I can make my web service the default project and touch run; a console window pops up and my web service is running;
On the way to record a sequence diagram .... I have the same issue; this time I need to become able to run/debugg the same application but launching it as Administrator from the EA;
How cn I enforce that the EA and in turn MDG is launched by VS in the "Run As Administrator" mode, and that way only can establish the proper context/mode to run my webservice in admin mode;
otherwhise my web service will just raise an exception.
This on a Vista PC.
Josef
-
maybe this will help I need to run an application as administrator recently and stumbled across it. http://www.codeproject.com/KB/cs/cpimpersonation1.aspx