.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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -