The error I get is
Expand|Select|Wrap|Line Numbers
- System.InvalidOperationException: Cannot start service qbLinxService on computer ',', ------> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
Here is my service code. Any help with this is greatly appreciated.
Expand|Select|Wrap|Line Numbers
- namespace qbLinx
- {
- partial class qbLinxService : ServiceBase
- {
- public qbLinxService()
- {
- InitializeComponent();
- }
- protected override void OnStart(string[] args)
- {
- //qbConnect qbCnn = new qbConnect();
- //qbCnn.qbTimer();
- }
- protected override void OnStop()
- {
- // TODO: Add code here to perform any tear-down necessary to stop your service.
- }
- }
- }