I also stumbled on this - although caused by yet another possibility: the event identifier (which was "obfuscated" in a #define
) was setting severity to error (the two high-order bits as stated in Event Identifiers). As Event Viewer displays the event identifier (the low-order 16 bits), there couldn't be a match...
For reference, I've put together a set of tips based in my own research while troubleshooting and fixing this:
If your log entry doesn't end with "the message resource is present but the message is not found in the string/message table" (as opposed to the original question):
If you need to add/edit registry information, remember to:
EventLog
service (or restart the system, as hinted by @BrunoBieri).If you don't wish to create a custom DLL resource, mind that commonly available event message files have some caveats:
EventLogMessages.dll
(as hinted by @Matt) goes up to 0xFFFF
EventCreate.exe
"only" goes up to 0x3E9
%1
ReportEvent
can still be inspected by looking into event details (select the desired event, go to Details tab and expand EventData)If you're still getting "cannot be found" in your logged events (original question):