My Windows Service Immediately stop after start up


  • I have exception handling which will write to my event log.

    After my service was stopped. I look at the event viewer, no error was found on my own event log and the system log.

    The system log only has two information logged, event start and then event stop.

    How could I find out what went wrong?


    Well, I later find out that, because I am using a .resx to write event log message.

    and the service through a runtime exception telling me that the .resx could not be found.

    How do I use a .resx in windows service project?

    Tuesday, April 20, 2010 10:29 AM