Hi
I have a problem that I'm trying to track down third day or so. I have
a .Net Windows Service here that used to run on the server. I have
updated it a bit and now I cant find a way to make it write EventLogs
on the server (it works perfectly fine on my machine and another server
I was testing).
It gives me error 1053 whenever the service tries to write an entry
(EventLog.WriteEntry("sth", "sth"). This is my conclusion after
isolating every other parts of the code.
So if I have EventLog.WriteEntry("sth", "sth") in the OnStart method
then it won't let me start the service. And if I have
EventLog.WriteEntry("sth", "sth") in the OnStop method - it doesn't let
me stop it for 5 minutes or so.
I know that it might be related to the privilages, but I'm sure that
this writing event was working before
Any Ideas??
Thanks