Error 1053: the service did not respond to the start or control request in a timely fashion

后端 未结 30 1226
無奈伤痛
無奈伤痛 2020-11-29 18:47

I have recently inherited a couple of applications that run as windows services, and I am having problems providing a gui (accessible from a context menu in system tray) wit

30条回答
  •  执念已碎
    2020-11-29 19:37

    I had this problem and it drove me nuts for two days… If your problem similar to mine:

    I have settings “User settings” in my windows service, so the service can do self-maintenance, without stopping and starting the service. Well, the problem is with the “user settings”, where the config file for these settings is saved in a folder under the user-profile of the user who is running the windows service under the service-exe file version.

    This folder for some reason was corrupted. I deleted the folder and service start working back again happily as usual…

提交回复
热议问题