Which file are you trying to open? The EVTX file may be corrupt, in which case you could set the Windows Event Log (Eventlog) service to Disabled, reboot, then delete the problematic EVTX from C:\Windows\System32\winevt\Logs, set the Windows Event Log (Eventlog) service to Automatic, reboot.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--