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

后端 未结 6 1762
广开言路
广开言路 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:06

    I had same issue, nothing did solve this error, then I resolved by not using the c:\Windows\System32 path to store the service executable!

提交回复
热议问题