Error 5 : Access Denied when starting windows service

前端 未结 30 2440
滥情空心
滥情空心 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:26

    I had this issue today on a service that I was developing, and none of the other suggestions on this question worked. In my case, I had a missing .dll dependency in the folder where the service ran from.

    When I added the dependencies, the issue went away.

提交回复
热议问题