“/”應用程序中的服務器錯誤。
安全性異常
說明: 應用程序嘗試執行安全策略不允許的操作。要授予此應用程序所需的權限,請與系統管理員聯系,或在配置文件中更改該應用程序的信任級別。
異常詳細信息: 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.0
沒有權限些日志 ,更改一些iis的應用程序池的標識