Tim Huffam

Dotting the I and crossing the T of I.T.

  Home  |   Contact  |   Syndication    |   Login
  152 Posts | 0 Stories | 2311 Comments | 653 Trackbacks

News

Archives

Post Categories

Interesting Blogs/Links

December 2006 Entries

One morning when restoring my pc from hibernate - I got this error: svchost.exe -- application error the instruction at "0x745f2780" reference memory at "0x00000000". the memory could not be 'read' Once this error is closed you can't start anything - and XP crashes when trying to shut down. Fortunately, if you don't close any of the error messages down, windows still works. Using google I found this solution by Scott Swigart (see the 2nd solution) - Thanks a million Scott!!! "1.Go 2 the start menu2.Right...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

This is something I wanted to do as a quick work around (rather than writing my own log4net appender) to being able to write SuccessAudit and FailureAudit events to the event log (something which log4net does not support out the box). Here's the method I used: private static ILog _Log = LogManager.GetLogger(Method... static log4net.Appender.EventLogAp... _eventLogAppender = null; // This only works if you have an EventLogAppender configured.public static...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati