Window Service Thread question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • olanger
    New Member
    • Apr 2008
    • 1

    Window Service Thread question

    Let me explain the scenerio, I have a window service that has timer and OnElapsed timer event I'm calling a method. This method process business logic and It's multi threaded. The problem...when the window service starts and you try to stop it by going to the window service and pressing stop, It won't. I'm getting a message "the service didn't respond in timely matter". When debuging the window service and pressing service stop the onStop event doesn't fire, why? how can I fix it? The process stops whe it's done processing is it a normal behavior?
    Thanks
Working...