Quote Originally Posted by 9pepper View Post
I changed to what you recommended, and it still shows "In OnStart".

Go back to my earlier post about the File.WriteAllText("c:\temp\startOnStart1.txt", "Start"), and I said it did not run this line which is on the very top of the OnStart method. I just wondering if the service actually process anything inside this OnStart method.

right now I do not know how it write to the event log "In OnStart"!?
Since IN ONSTART is no longer present anywhere in your code that makes no sense...