【问题标题】:IIS 6 - Event Code 3005 - An unhandled exception has occurredIIS 6 - 事件代码 3005 - 发生未处理的异常
【发布时间】:2014-06-19 06:36:14
【问题描述】:

我一直在查看我们的一个服务器事件日志,并注意到最近重复记录了以下事件。我们没有任何用户报告任何问题,但这是我应该担心的事情吗?谢谢

    Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 02/05/2014 09:23:24 
Event time (UTC): 02/05/2014 08:23:24 
Event ID: f5ebcff35cf640c993eb166287a19305 
Event sequence: 1 
Event occurrence: 1 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/1799576733/Root/updates-22-130434926043437500 
    Trust level:  
    Application Virtual Path: /updates 
    Application Path: C:\OPERATE_X_INTRANET\APPLICATIONS\OPERATE_X\BOOKIT-EDI\PUBLIC\updates\ 
    Machine name: GBOPS-6438

Process information: 
    Process ID: 988 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 

Exception information: 
    Exception type: HttpException 
    Exception message: Server cannot access application directory 'C:\OPERATE_X_INTRANET\APPLICATIONS\OPERATE_X\BOOKIT-EDI\PUBLIC\updates\ '. The directory does not exist or is not accessible because of security settings. 

Request information: 
    Request URL: http://www.operate-x.ps.int/updates/post.aspx?id=06d166d9-f805-4b98-a79c-826fb90bbc1f 
    Request path: /updates/post.aspx 
    User host address: 208.89.209.130 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 

Thread information: 
    Thread ID: 7 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace:    at System.Web.HttpRuntime.EnsureAccessToApplicationDirectory()
   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)

【问题讨论】:

    标签: c# iis-6


    【解决方案1】:

    网络服务似乎没有'C:\OPERATE_X_INTRANET\APPLICATIONS\OPERATE_X\BOOKIT-EDI\PUBLIC\updates\'文件夹的写入权限

    System.Web.HttpRuntime.EnsureAccessToApplicationDirectory()
    

    To fix it
    文件夹 --> 属性 --> 安全 --> 编辑 --> 添加 --> 网络服务作为名称并授予权限。

    【讨论】:

      猜你喜欢
      • 2015-01-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-26
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多