Weird Issue With Windows Service - Service Timing Out
问题 Hi there I have piece of legacy (VS2010) Windows Service code that I have imported into VS2017 and is causing me severe frustration. This code has worked well for about the last 6 years, however when I carry out the install and attempt to start the service the SCM comes back with a timeout error. The OnStart code is as follows: Protected Overrides Sub OnStart(ByVal args() As String) 'Instaniate the timer for the service _serviceTimer = New Threading.Timer(New Threading.TimerCallback(AddressOf