IIS 6 - 事件代码3005 - 发生了未处理的异常

时间:2014-05-02 14:24:30

标签: c# iis-6

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

    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)

1 个答案:

答案 0 :(得分:0)

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

的写入权限
System.Web.HttpRuntime.EnsureAccessToApplicationDirectory()

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