adasilva Posted November 30, 2005 Posted November 30, 2005 Hello, I developed a windows service that has a reference to a WebService. The service uses the local system account and its set to start automatically. unfortunally it does not start automatically and I got two error messages in the Event Viewer: (Event ID 7000 Service <MyService> did not start in timely fashion and EventID 7009 Timeout (30000 milliseconds) waiting for the <MyService> service to connect.) I have installed the framework 1.1 SP1 as recomended by Microsoft but it has made no diference. the following is the code on the Onstart event Dim start As ThreadStart = New ThreadStart(AddressOf ServiceTimer_Tick) mWorker = New Thread(start) mWorker.Start() timer.AutoReset = True timer.Enabled = True timer.Start() Note; I have no problem starting it manually. does anyone have experienced this problem before? Regards, adasilva. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.