Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...