starting a process c# access denied

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ihteshamqazi
    New Member
    • Mar 2010
    • 3

    starting a process c# access denied

    Hi,

    I have a windows service running whose job is to look for a process and launch if not found.
    The statment is : System.Diagnost ics.Process.Sta rt(path,usernam e,password,doma in).

    parameters are :

    path : path to the executable i.e....some path/myapp.exe

    username : any windows xp limited account.

    domain : String.Empty---i dont know what domain name to give

    password : somepassword - a secure string

    The windows service is running on local system account.

    The error i am getting is Access Denied.
    Please help me, what am i doing wrong.
Working...