有没有办法写入此事件日志:

或者至少,一些其他Windows默认日志,我不必注册事件源?
我收到以下异常.我在Registry编辑的Eventlogs上完全控制了Asp.net帐户.
[SecurityException:找不到源,但无法搜索部分或全部事件日志.无法访问的日志:安全.]
Run Code Online (Sandbox Code Playgroud)System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate) +664 System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) +109 System.Diagnostics.EventLog.SourceExists(String source) +14 Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher.VerifyValidSource() +41
我想这是由于服务器上的一些配置问题?