同一个服务应用程序,我把它保存成两个文件,同时运行两个的时候第二个总是运行一会儿就奇怪的关掉,
也找不到错误信息,因为不知道如何跟踪到服务程序内部去调试,我只找到了windows的Event Viewer中的错误记录:
The following information is part of the event: The service process could not connect to the service controller.service好难调试,不知道怎么回事,望大虾指点!!!