New Windows Service installed, fails to start: “System error 2 … system cannot find the file specified”

后端 未结 6 1766
广开言路
广开言路 2021-02-04 23:43

I have installed several other custom .Net windows services successfully. A new one I had recently written was very similar to the others and while it installed without error -

6条回答
  •  粉色の甜心
    2021-02-05 00:24

    My Problem was, creating the Service with Powershell command added brakets like: to the registry.

    Replacing < and > with " fixed it for me.
    

提交回复
热议问题