windows service启动失败 1053解决方法

1.检查服务名称是否一致

2.启动服务时间超时 将代码放入线程中   

前两天来自网络(http://blog.csdn.net/hellolib/article/details/44963227)

3.将debug改为release (我的问题是这么解决的。我出现的问题是启动成功一次 失败一次 成功 失败 如此反复)

4.供参考的https://social.technet.microsoft.com/Forums/windows/en-US/50708087-7558-4789-9222-f795da5d6ee8/error-1053-on-launching-windows-service?forum=w7itprogeneral

posted @ 2018-03-08 14:55  胖胖仔  阅读(5866)  评论(0编辑  收藏  举报