The first thing the service does is log a message to indicate it started. It is also in a try/catch that logs exceptions to the event viewer. Turns out the event viewer had reached it's maximum size, so it would quit working and there would be no indication of the problem in the event viewer, because it was the problem.
I ended up changing an option to "Overwrite events as needed" from "Overwrite events older than 7 days." The production server was already set to overwrite as needed, which explains why it worked in production, but sporadically failed in dev.

No comments:
Post a Comment