Exception in EventLog.WriteEntry

This is a discussion on Exception in EventLog.WriteEntry within the C# Programming forums, part of the General Programming Boards category; Hello everyone, The exception is occured in EventLog.WriteEntry, error message and error stack are listed below. Does anyone have any ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    Exception in EventLog.WriteEntry

    Hello everyone,


    The exception is occured in EventLog.WriteEntry, error message and error stack are listed below. Does anyone have any ideas?

    Code:
    "A device attached to the system is not functioning"
    
    System.Diagnostics.EventLog.InternalWriteEvent(UInt32, UInt16, System.Diagnostics.EventLogEntryType, System.String[], Byte[], System.String)
    System.Diagnostics.EventLog.WriteEntry(System.String, System.Diagnostics.EventLogEntryType, Int32, Int16, Byte[])
    System.Diagnostics.EventLog.WriteEntry(System.String, System.Diagnostics.EventLogEntryType, Int32)

    thanks in advance,
    George

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    Without code or even an exception type, I would have to guess. Have you looked up what exceptions can be thrown in the MSDN ? Is it any of them for the reasons listed there ?
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Exception handling in a large project
    By EVOEx in forum C++ Programming
    Replies: 7
    Last Post: 01-25-2009, 06:33 AM
  2. exception handling
    By coletek in forum C++ Programming
    Replies: 2
    Last Post: 01-12-2009, 04:28 PM
  3. Handle C++ exception and structured exception together
    By George2 in forum C++ Programming
    Replies: 2
    Last Post: 01-24-2008, 08:21 PM
  4. Signal and exception handling
    By nts in forum C++ Programming
    Replies: 23
    Last Post: 11-15-2007, 01:36 PM
  5. Problem with the exception class in MINGW
    By indigo0086 in forum C++ Programming
    Replies: 6
    Last Post: 01-20-2007, 12:12 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21