c# - Running a Console from an Azure Worker Role - Do not have permissions -


hello trying run console app worker role (as per user demand) console fails execute completely.

i doing :

process proc = new process();                 proc.startinfo.filename = "zprocessing";                 proc.startinfo.arguments = "argument" //example                 proc.startinfo.useshellexecute = false;                 proc.startinfo.username = "man1";                 string pass = "lolol213";                 securestring str = new securestring();                 char[] charray = pass.tochararray();                 foreach (char c in charray)                 {                     str.appendchar(c);                 }                 proc.startinfo.redirectstandardoutput = true;                 proc.startinfo.redirectstandarderror = true;                 proc.startinfo.createnowindow = false;                 proc.start();                 proc.waitforexit(); 

i have tried startinfo.useshellexecute = true proc.startinfo.verb = "runas"; same error..i know console not start because @ begining supposed create log file..

now, did hardcoded console, copy pasted server, executed there , create files folders , carries on analisis has do..

so either executing wrongly..or dont execute enough permissions or something..or combination of worker role + console app not working.. help¿?

check out this question. i've provided detailed explanation on how run external process , careful about. there additional comments original question author.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -