I created a custom Windows Service and I am trying to start it through command prompt:
C:\Windows\system32>net START "CustomService"
The CustomService service is starting.
The CustomService service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
I tried looking at HELPMSG 3534. It states: The service did not report an error. I do not know where to go from here. I tried googling this, but nothing really helpful. I am really do not know how to troubleshoot this.
Protected Overrides Sub OnStart(ByVal args() As String)
SetConfigVariables()
_logger.WriteMessageToLog(SimpleLog.LogType.InfoType, "Start Service")
End Sub
The SetConfigVariables() calls sql server and pulls some data and set appropriate global variables.