aspx thread: More problems w/ eventLog class, confusing descriptions in the lo
g entry.
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C2291A.74A5B2E0
Content-Type: text/plain;
charset="iso-8859-1"
So I started putting events in the event viewer, but each time the
description (when viewing it in the event viewer) comes out like so:
The description for Event ID ( 0 ) in Source ( Application ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The following
information is part of the event: [and _then_ the actually message passed is
here, the value of message]
The function is:
Private Sub WriteToEventLog (logName as String, message as String)
' Write a message to the event log
Dim Log as new eventLog
Log.Source = logName
Log.WriteEntry (message, eventLogEntryType.Information)
End Sub
Wells Oliver
Web Application Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com