.net - How to open service on computer inner exception access is denied? -


i invoking service inside service.when start service getting exception saying "cannot open service on computer" , inner exception "access denied". have tried running application administrator.changed app.manifest "highest rights" still no use.i added local computer name.i followed changes mentioned in similar questions. code

    steing[] parameter=new string[1];     parameter[0] = servicename+","+param;     sc.machinename= "xyz";     sc,start(parameter); 

when run sc.start getting above said exception.thanks in advance


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -