Window service problem in .net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amitsingh
    New Member
    • Mar 2007
    • 1

    #1

    Window service problem in .net

    in window service if service code is making exception and not comming back to restart the service again.because i am using timer enable service. i have set timer as disable after calling code and set again enable after sucessfully return.but my code is making exception and not throwing exception then how could i restart service automatically.
  • MMcCarthy
    Recognized Expert MVP
    • Aug 2006
    • 14387

    #2
    Originally posted by amitsingh
    in window service if service code is making exception and not comming back to restart the service again.because i am using timer enable service. i have set timer as disable after calling code and set again enable after sucessfully return.but my code is making exception and not throwing exception then how could i restart service automatically.
    This question is being moved to the .NET forum.

    ADMIN

    Comment

    • radcaesar
      Recognized Expert Contributor
      • Sep 2006
      • 759

      #3
      Originally posted by amitsingh
      in window service if service code is making exception and not comming back to restart the service again.because i am using timer enable service. i have set timer as disable after calling code and set again enable after sucessfully return.but my code is making exception and not throwing exception then how could i restart service automatically.


      but my code is making exception and not throwing exception - What does this means ?

      :)

      Comment

      Working...