說明: 應用程序嘗試執行安全策略不容許的操做。要授予此應用程序所需的權限,請與系統管理員聯繫,或在配置文件中更改該應用程序的信任級別。
異常詳細信息: System.Security.SecurityException: 未找到源,不過,未能搜索部分或全部事件日誌。 若要建立源,您須要用於讀取全部事件日誌的權限以確保新的源名稱是惟一的。 不可訪問的日誌: Security。
源錯誤:
安全
執行當前 Web 請求期間生成了未經處理的異常。能夠使用下面的異常堆棧跟蹤信息肯定有關異常緣由和發生位置的信息。 |
堆棧跟蹤:
服務器
[SecurityException: 未找到源,不過,未能搜索部分或全部事件日誌。 若要建立源,您須要用於讀取全部事件日誌的權限以確保新的源名稱是惟一的。 不可訪問的日誌: Security。] System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate) +458 System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) +125 System.Diagnostics.EventLogInternal.VerifyAndCreateSource(String sourceName, String currentMachineName) +114 System.Diagnostics.EventLogInternal.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) +238 System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) +145 System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type) +29 REL.Microsoft.KPSoft.Web41.Order.OrderBasicInfoB2B.ProcessRequest(HttpContext context) in D:\LenovoGit\rel-microsoft-kpsoft\REL.Microsoft.KPSoft.Portal\Order\OrderBasicInfoB2B.ashx.cs:1011 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +498 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88 |
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.2623.0spa
沒有權限些日誌 ,更改一些iis的應用程序池的標識日誌