Error 5 : Access Denied when starting windows service

前端 未结 30 2501
滥情空心
滥情空心 2020-12-04 18:49

I\'m getting this error when I try to start a windows service I\'ve created in C#:

\"alt

My Code

30条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-04 19:18

    If you are getting this error on a server machine try give access to the folder you got the real windows service exe. You should go to the security tab and select the Local Service as user and should give full access. You should do the same for the exe too.

提交回复
热议问题