Re: 2.0 is crapping all over my Event Log!

Tech-Archive recommends: Fix windows errors by optimizing your registry



William Sullivan wrote:
Nope, but we are holding meetings the third tuesday every month. Coffee and
donuts provided.

"Kevin Burton" wrote:

Any resolution? I am getting this same error

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. 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:
ApplicationException occured 1 times.

I am just copying the code in the examples on Microsofts web site.

Dim log As New EventLog
log.Source = "Application"
' Write an informational entry to the event log.
For Each key As Object In errorHashtable.Keys
log.WriteEntry(String.Format("{0} occured {1} times", key,
errorHashtable.Item(key)))
Next
log.Close()

Thank you.

Kevin

"William Sullivan" wrote:

I keep getting these two error evens in my event log, and I can't find any
information on what the cause is:

.NET Runtime version 2.0.50727.42 - CLR 2.0 does not support profilers
written for CLR 1.x

.NET Runtime version 2.0.50727.42 - Failed to CoCreate profiler.

Fifty million frigging times I get this in the Event Log. I think it has
something to do with writing to the event log. ALSO, how the heck do you get
rid of this nonsense prepended to every EventLog message my windows service
writes:

The description for Event ID ( 0 ) in Source ( MyWickedYetAnnoyingC#Service)
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:

I do not know what is causing these profiler error messages. But to get
rid of the annoying "The description of Event ID ( 0 ) in Source..."
message, it usually suffices to do the following:

Open Regedit. Navigate to
HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application\<Name of
Event Source>

Where <Name of Event Source> is whatever name you're doing logging
under. Under this key, there should be a value called EventMessageFile,
which should be a REG_SZ containing the path to EventLogMessages.dll,
within the appropriate framework directory (e.g.
c:\windows\microsoft.net\framework\v2.0.50727\EventLogMessages.dll).

This will stop the additional extraneous comments in the event log. It
won't stop the messages being created (which, as I said, I do not know
the cause of).

Damien

.



Relevant Pages

  • Re: Windows prepended eventlog message: "The description for Event ID () in Source () ..."
    ... The event log description contains the information: ... The local computer may not have the necessary registry information or ... I have no control of the monitoring software. ... websites I see, including Microsoft's website, seems to accept this ...
    (microsoft.public.windows.server.general)
  • RE: Memory Issue: MSSQL$SBSMonitoring Process (event log)
    ... Forgot the event log. ... The local computer may not have the necessary registry ... information or message DLL files to display messages from a remote computer. ...
    (microsoft.public.windows.server.sbs)
  • Re: Network comes and goes to one machine. Where to look for the problem?
    ... but this is about the only thing I can find in the Event Log. ... information or message DLL files to display messages from a remote computer. ... When I go to my desktop I see the laptop, but can't open or read anything on it. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Error ID 7023
    ... It simply means the developer provided a means to write to the event log, but didn't provide a description for this event. ... information or message DLL files to display messages from a remote computer. ... local computer may not have the necessary registry information or message DLL ...
    (microsoft.public.windows.server.general)
  • Office 2007 install fails
    ... laptop. ... event log and they are as follows: ... The local computer may not have the necessary registry ... information or message DLL files to display messages from a remote computer. ...
    (microsoft.public.office.misc)