On two separate Windows 8.1 installations with Visual Studio 2013 installed, the event log service errors on any attempt to read from/write to it.
When I open Event Viewer I get this message when viewing any log:
Event Viewer cannot open the event log or custom view. Verify that Event Log service is running or query is too long. The request is not supported (50)
The Windows Event Log service is running.
If I try to write to the event log programmatically, I get a Win32Exception with NativeErrorCode 50/HResult -2147467259 "The request is not supported".
If I navigate to C:\Windows\System32\winevt\Logs, I can open the .evtx files using the local Event Viewer and they appear fine (except for having no events since mid-May 2014).
Any ideas how to repair this?