files-community / Files

Building the best file manager for Windows
https://files.community
MIT License
32.89k stars 2.1k forks source link

Bug: System.InvalidOperationException: Cannot open log for source '.NET Runtime'. You may not have write access. #15688

Open sentry-io[bot] opened 5 days ago

sentry-io[bot] commented 5 days ago

Sentry Issue: FILES-APP-1F

System.ComponentModel.Win32Exception: Interfaz desconocida.
System.InvalidOperationException: Cannot open log for source '.NET Runtime'. You may not have write access.
  ?, in void EventLogInternal.OpenForWrite(string currentMachineName)
  ?, in void EventLogInternal.InternalWriteEvent(uint eventID, ushort category, EventLogEntryType type, string[] strings, byte[] rawData, string currentMachineName)
  ?, in void EventLogInternal.WriteEvent(EventInstance instance, byte[] data, params object[] values)
  File "WindowsEventLog.cs", line 47, in void WindowsEventLog.WriteEntry(string message, EventLogEntryType type, int eventID, short category)
    DiagnosticsEventLog.WriteEvent(new EventInstance(eventID, category, type), message);
  File "EventLogLogger.cs", line 130, in void EventLogLogger.WriteMessage(string message, EventLogEntryType eventLogEntryType, int eventId)
    EventLog.WriteEntry(message, eventLogEntryType, eventId, category: 0);
...
(2 additional frame(s) were not displayed)

System.AggregateException: An error occurred while writing to logger(s).
  ?, in void <>c__DisplayClass17_0<T>.<StartSTATask>b__0(?)+() => { }
...
(2 additional frame(s) were not displayed)