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的应用程序池的标识

  • 相关阅读:
    python拆分pubchem SDF文件
    zlib压缩爬虫采集到的网页源码保存到mongodb减少存储空间
    openresty (lua-nginx_static_merger)合并css js文件 减少请求次数,提升页面速度
    scrapy采集—爬取中文乱码,gb2312转为utf-8
    不写代码的爬虫
    爬虫如何发现更多的url呢,怎么动态收集新的url连接
    python 将GIF拆分成图片方法
    Linux shell循环遍历
    iOS 11 导航栏放置UISearchBar 导航栏高度变高解决办法 (iPhone X出现的情况)
    隐藏UISearchBar中的删除按钮
  • 原文地址:https://www.cnblogs.com/suizhikuo/p/11697082.html
Copyright © 2011-2022 走看看