我收到以下例外情況。我在Registry edit中的Eventlogs上完全控制了Asp.net帳戶。未找到源代碼,但部分或全部事件日誌無法搜索
[SecurityException:未找到源,但部分或全部事件 日誌無法搜索。無法訪問的日誌:安全]
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
我想這是由於在服務器上進行一些配置問題?
可能的複製http://stackoverflow.com/questions/1274018/system-security-securityexception-當寫入事件日誌) – 2017-02-24 02:53:16