Thursday, April 19, 2007

Windows Services Error

Windows Services Error :
---------------------------
---------------------------
Services
---------------------------
The Service1 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.
---------------------------
OK
---------------------------

I got this error because I had the MessageBox.Show() to display message box

during Start() and Stop() of the Windows service...

Solution :

I removed the MessageBox from the windows Services...

No comments: