G
Guest
Hi.
I’m writing a Windows service in C# that needs to run in the NetworkService
account, but when I create an Installer and set
ServiceProcessInstaller.Account to NetworkService on an otherwise unaltered
new project, I get an “Error 5: Access Denied†message when I try to start
the service, even when logged in as Administrator.
Does anybody know why this is happening or how I can get around it?
Thanks in advance
I’m writing a Windows service in C# that needs to run in the NetworkService
account, but when I create an Installer and set
ServiceProcessInstaller.Account to NetworkService on an otherwise unaltered
new project, I get an “Error 5: Access Denied†message when I try to start
the service, even when logged in as Administrator.
Does anybody know why this is happening or how I can get around it?
Thanks in advance