I have a diagnostic version of a s开发者_运维问答ervice that logs as much as possible in the OnStart() and OnStop() methods.
Very simple question that I\'ve been having trouble answering. In Windows XP and Server 2003, I have occasionally come across a problem when trying to write to the event log.
I\'m looking for a way t开发者_StackOverflow社区o data mine the event logs of a remote computer in C#.
I am trying to modify an already written Windows service. I see the source has an System.diagnostic.EventLog object which logs different action of the service.
i am trying to read from the event logs on the server.. my current code is working.. but my worry is when there are thousands of entries in the events, will it take longer to load the page??
I have an ASP.NET application running on a Windows Server 2008 box with IIS 7. The application started on Windows Server 2003 with IIS 6.
When should I log a message to the event log?Is there an accepted best practice for whether a particular event...
While reading the Traning Guide for the 70-536 exam written by Tony Northup and friends, I came acro开发者_JS百科ss the following:
I am using ELMAH to log errors in my asp.net MVC(C#) application. I am able to log errors in xml or database. How to 开发者_JAVA百科log errors to the eventlog using ELMAH?ELMAH does not include an ev
开发者_运维知识库I have written: . . . //Log exception to the event log if (!EventLog.SourceExists(\"PodaHIS\")) {