C# Windows Service Timeout on startup

后端 未结 5 447
小鲜肉
小鲜肉 2021-02-05 11:41

I\'m having difficulty trying to determine the cause of a timeout in a Windows Service I\'ve created with C#. I\'ve spent a considerable amount of time looking at several posts

5条回答
  •  一向
    一向 (楼主)
    2021-02-05 12:27

    I'd also suspect that log4net is somehow hanging. Maybe the drive where the log is to be created is not ready yet when the machine is booting. Have you tried starting your service delayed?

    enter image description here

提交回复
热议问题