zoukankan      html  css  js  c++  java
  • 异常详细信息: System.Security.SecurityException: 未找到源,不过,未能搜索部分或所有事件日志。 若要创建源,您需要用于读取所有事件日志的权限以确保新的源名称是唯一的。 不可访问的日志: Security。

    “/”应用程序中的服务器错误。


    安全性异常

    说明: 应用程序尝试执行安全策略不允许的操作。要授予此应用程序所需的权限,请与系统管理员联系,或在配置文件中更改该应用程序的信任级别。 

    异常详细信息: 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
    el-microsoft-kpsoftREL.Microsoft.KPSoft.PortalOrderOrderBasicInfoB2B.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的应用程序池的标识

  • 相关阅读:
    C#子线程抛出的异常给主线程
    WebBrowser1_DocumentCompleted事件里面无法触发InvokeMember("click")
    判断页面是否完全载入对ExtendedWebBrowser的DocumentCompleted再扩展
    webBrowser载入网页机制网页加载是否完毕判断
    验证码识别必备,c#分析bmp图形文件,一个有用的BMP图形分析类
    ConcurrentDictionary数据结构的使用方法
    手机号码归属地查询api接口
    Eclipse自动提示
    学计算机该看的书
    天气预报api整理
  • 原文地址:https://www.cnblogs.com/suizhikuo/p/11697082.html
Copyright © 2011-2022 走看看