Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Cannot start compute emulator through command line code /devfabric

$
0
0

Hello,

I have been trying to get the compute emulator to start through c# and had no success.
I am calling /devfabric as my argument

my process is csrun.exe and I include the username and password for my computer and the verb "runas"
I also have the app.manifest  <requestedExecutionLevel level="highestAvailable" uiAccess="false" />

I also tried making my process cmd.exe with all the above admin options and call the csmonitor.exe to try to make it start as admin so I can use /devfabric later

But no luck I get this error message:
The Compute Emulator had an error: Compute Emulator needs to be launched with administrator privileges in order to run in full emulation mode. Please restart the emulator with correct privileges

I have no problem with starting the storage emulator with /devstore and I can start the compute emulator manually but I need a way to start it through code.

I am using:
Windows Azure 2.2
Windows 8
Visual Studio 2012 ultimate

Thank you.


Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>