Remove hyperlink to Microsoft web site from EventLog message

G

Guest

I write to EventLog using standard .NET classes. The resulting error message in the EventLog contains my message and the following text
"For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp."
I would like to remove this text from the EventLog message.

Thanks in advance
 
N

Nicholas Paldino [.NET/C# MVP]

Jack,

I don't believe you can remove this. It's displayed at the bottom of
every event in the Event Browser, whether or not the event was produced by a
MS product or not.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Jack said:
I write to EventLog using standard .NET classes. The resulting error
message in the EventLog contains my message and the following text:
 
A

Alek Davis

Thanks Nicholas. I had exactly the same question. Just wondering what would
be the rationale for this. It clearly does not make any sense to put this
message given the fact that apps can create their own event log entries.

Alek

Nicholas Paldino said:
Jack,

I don't believe you can remove this. It's displayed at the bottom of
every event in the Event Browser, whether or not the event was produced by a
MS product or not.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Jack said:
I write to EventLog using standard .NET classes. The resulting error
message in the EventLog contains my message and the following text:
"For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp."
I would like to remove this text from the EventLog message.

Thanks in advance!
 
G

Guest

I have been using the Exception Management Block (found at MSDN) at these messages have never appeared on them. As long as you create your own Event Sink Source etc (this block does it automatically), these extra messages should not appear at the end of the event message

Regards
Jonathan Ruckert
 

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

Similar Threads

Display hyperlink in EventLog 1
string problem? 3
Writing to EventLog 2
EventLog Class 1
Appended text in the message 1
"spontaneous" rebooting bugcheck 4
System Restore bootcode.ini 2
Event log warning message 3

Top