.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

python - Creating a new column in a dataframe based on the result of the addition of three others -

string - Using python and postgres, variables within execute function? -