writing to event viewer

G

Guest

how when i write to the event viewer to have a clean test withought :
The description for Event ID ( 0 ) in Source ( HopWeb ) cannot be found. The
local computer may not have the necessary registry information or message DLL
files to display messages from a remote computer. You may be able to use the
/AUXSOURCE= flag to retrieve this description; see Help and Support for
details. The following information is part of the event:

thnaks i nadvance
peleg
 
T

ThatsIT.net.au

First decide what event log you want to use
You can create your own log using this script
http://dev.thatsit.net.au/samples/wsh/logs/eventlog/lgevvb05.htm

to write an event
http://dev.thatsit.net.au/samples/wsh/logs/eventlog/lgevvb20.htm

this is for windows scripting host, I assume its much the same in asp.net

Actually I just had a look, try System.Diagnostics.EventLog
you seem to be able to do the same using this class, although I have not
done so myself



pelegk1 said:
how when i write to the event viewer to have a clean test withought :
The description for Event ID ( 0 ) in Source ( HopWeb ) cannot be found.
The
local computer may not have the necessary registry information or message
DLL
files to display messages from a remote computer. You may be able to use
the
/AUXSOURCE= flag to retrieve this description; see Help and Support for
details. The following information is part of the event:

thnaks i nadvance
peleg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top