window service

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • naveen babu

    window service



    hi,
    i have built a window service to send an email alert..

    when i start the service..i get the following msg

    The ScheduleAlert service on Local Computer started and then stopped.
    Some services stop automatically if they have no work to do, for example
    the Performance Logs and Alerts service.

    when i check my event log i have teh following error msg

    Service cannot be started. System.InvalidC astException: Specified cast
    is not valid.
    at ScheduleAlert.S cheduleAlert.On Start(String[] args)
    at System.ServiceP rocess.ServiceB ase.ServiceQueu edMainCallback( Object
    state)

    any help would be appreciated.

    i am getting the email....but the service is stopped


    *** Sent via Developersdex http://www.developersdex.com ***
Working...