Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Service stuck at Starting
#3
(07-10-2020, 03:34 PM)kudzu Wrote: Is there an .err file in the directory after the service fails? Also check the windows event log.
No .err file and no event entries.  The service manager just says error 1053, that it wouldn't start in a timely manner.  It does it even if I only have the TIWStart.Execute(False) in the program source code and remove all events from ServerController.

I just found the problem.  It was in IWServerControllerBaseConfig the line AppName:='MyService';
That one line caused the service to never start...

The Service name installed with Inno was different than what the AppName command was setting it to. That is what caused the problem. When they are the same it works fine. Which is a "Duh" type thing - obvious to anyone. I didn't realize the name was different and Windows doesn't report anything either.

Oh well, live and learn.

David
Reply


Messages In This Thread
Service stuck at Starting - by DavidChiq - 07-08-2020, 08:20 PM
RE: Service stuck at Starting - by kudzu - 07-10-2020, 03:34 PM
RE: Service stuck at Starting - by DavidChiq - 07-10-2020, 04:46 PM
RE: Service stuck at Starting - by kudzu - 07-10-2020, 11:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)