3
votes

I wrote a windows service use the Event Log for logging. It has wrote message to Event Log successfully but the message description has been appended the following text:

The description for Event ID ( ... ) in Source ( ... ) 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.

I use C# and EventLog class in .Net for logging. How do I remove that text?

1
Is your service running at the same machine or a remote one?26071986
Maybe post the line of code you use to write the event?Henk Holterman

1 Answers

1
votes

Are you using the EventLog that is available in the ServiceBase class? Do you install the service with installutil.exe? This method properly installs the event source.