|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Reading remote eventlog Messagesmachine: Dim myEvents as new EventLog("Application", "1.2.3.4") For Each myEvent as EventLogEntry in myEvents.Entries Console.WriteLine(myEvent.Message) Next And I would like that to get the message for all sources. It does work, quite well, in fact, EXCEPT that you get this odd erro at the beginning of every message: "The description for Event ID '0' in Source 'TheSampleAgent' cannot be found. The local computer may not have the necessary registry information or message DLL files to display the message, or you may not have permission to access them. The following information is part of the event:'03:00:14.03 - Blah Blah Blag v1.02 (build 20040608.0915)'" This seems to have something to do with registering a source locally for an specific logging application. Does this mean that I won't ever be able to read this message remotely without registering the source on the reading workstation? Thanks! S |
|||||||||||||||||||||||