Why windows service get hang after long run

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abcd20
    New Member
    • Nov 2012
    • 1

    Why windows service get hang after long run

    I have written a windows service which run continuously on a server. Interval time is 9 sec. On timer1_interval i am fecthing record from database and sending it to user. And changing its record status.

    this service stop fetching records after running 4 to 5 days. We need to restart the service. there is no GUI involve in this code
  • PsychoCoder
    Recognized Expert Contributor
    • Jul 2010
    • 465

    #2
    I would first start with checking the event log on the server it;s running on to see if any error is being logged

    Comment

    Working...