G
Guest
I have created a WinForm application that needs to be run as a windows
service (the PC is inaccesible by any user) i have successfully installed the
application as a windows service. When i start the service, i get the
following error
Error 1053: The service did not respond to the start or control request in a
timely fashion
1. Is there anyway to extend the timeout period.? I use timed threads to
load a serial device driver and this takes time
2. To enable the service to act correctly i assume that the application must
have OnStart and Stop methods. As the Winforms app already inherits
Windows.Forms.Form, how do i also make it inherit
System.ServiceProcess.ServiceBase so I can correctly start and stop (there
are cleanup operations on close)
Thank you for your help in this matter
..Net Framework v 1.1.4322.573
service (the PC is inaccesible by any user) i have successfully installed the
application as a windows service. When i start the service, i get the
following error
Error 1053: The service did not respond to the start or control request in a
timely fashion
1. Is there anyway to extend the timeout period.? I use timed threads to
load a serial device driver and this takes time
2. To enable the service to act correctly i assume that the application must
have OnStart and Stop methods. As the Winforms app already inherits
Windows.Forms.Form, how do i also make it inherit
System.ServiceProcess.ServiceBase so I can correctly start and stop (there
are cleanup operations on close)
Thank you for your help in this matter
..Net Framework v 1.1.4322.573