So there I was, humming along with my newly written windows service and all. After installing it with InstallUtil.exe, I tried to start the service with "Net Start MyService" and I got the error
System Error 5 has occurred Access is Denied
This link has info about the problem, suggesting that this is due to security issues. And, well, it was. 'Cause I have my dev environment in C:\Users\{myuser} and, well, that's kind of locked for the Network Service account. A small copy to c:\ before installing, and problem solved.
0 kommentarer:
Post a Comment