SetLength(ServiceStartTable, ServiceCount + 1) įillChar(ServiceStartTable, SizeOf(TServiceTableEntry) * (ServiceCount + 1), 0) If Components is TService then Inc(ServiceCount) RegisterServices(False, FindSwitch('SILENT')) RegisterServices(True, FindSwitch('SILENT')) ServiceStartTable: TServiceTableEntryArray I copied all the content of the "Vcl.SvcMgr" file to a new one, modifying it like this (I only added the LogFile.Write Stuff): procedure TServiceApplication.Run One idea I had but it's not working either, is to replace the TApplication VCL class. This is not logging anything, not even "TMyService.ServiceStart". LogFile.Write('TTMyService.ServiceStart - ' + e.Message) InitializeTimer //Start a timer where all the magic happens LogFile.Write('TTMyService.ServiceStart') //This is my logging machine I have this code: procedure TMyService.ServiceStart(Sender: TService var Started: Boolean) I have a log machine in the service but it's of no use, the error is happening somewhere before the "ServiceStart" method. About the timeout, the error is shown right after I hit start in the service manager, it won't wait the 30 seconds timeout.
DELPHI DS150E SOFTWARE FOR WINDOWS 10 UPDATE
It's neither the case, we have instaled NetFramework 4 with the last update in some of the computers where it's crashing and as I told you, it's crashing in may different versions of windows. All the pages related to this error says that this error has something to do with the windows services time out, or that it has something to do with NetFramework 1.1 and windows 2003 server. I've searched the web and couldn't find anything useful. The service did not respond to the start or control request in a timely fashion. The XXX service failed to start due to the following error: The only place where I can see some kind of log is in the windows event manager, and it's not helpful at all. My biggest problem, is that I have no clue of what can be happening. The first thing that came into my mind was to try to start it manually, but haven't had any luck either. One day suddenly, it stopped restarting with this little tool I told you about. We have almost all versions of windows (XP, Windows 7, Windows 8, Windows Server 2003, and even Windows 10). At my office, we have like 70 or so computers running everyday the hole system with my service included and it was working fine.
The system it is supposed to update has some other services and stuff running in the background, so it has a little tool to restart all the background stuff all at once (including my service). My service gets the URL of a hotfix, downloads it and executes it. The service is in charge of updating a huge system, but it's independent of if. It was working well 2 weeks ago, and without any change to the service, it suddenly stopped working. It's not starting and I can't seem to find the problem with it. I have a problem with a service I coded in Delphi.