| Previous | Next |
| ERROR_EVT_EVENT_TEMPLATE_NOT_FOUND | ERROR_EVT_INVALID_EVENT_DATA |
ERROR_EVT_INVALID_PUBLISHER_NAME
The requested publisher name is invalid
EvtOpenPublisherMetadata expects the registered provider name, while provider enumeration returns the identifiers that the local Event Log service recognizes. A display string, executable name, service name or GUID formatted incorrectly is not interchangeable with that publisher name. The failure occurs before event definitions or message resources are examined.
Enumerate providers and compare the supplied identifier exactly, including punctuation and namespace components. If the application constructs the name from configuration, inspect encoding, truncation and hidden whitespace. When reading an archived log whose provider is not installed, pass the log-file path so the API can search metadata embedded in that EVTX file instead of inventing a local publisher name.
What to inspect
- Use EvtOpenPublisherEnum or wevtutil to obtain registered names.
- Do not substitute the localized provider display name.
- For an archived EVTX file, provide its path to the metadata API.
References
- Microsoft: EvtOpenPublisherMetadata
- Microsoft: provider and event metadata
- Microsoft: wevtutil channel and publisher diagnostics
Looking for a different code? Search another status or error code.