【问题标题】:IIS 6 error with NETWORK SERVICE identity带有网络服务标识的 IIS 6 错误
【发布时间】:2013-07-06 16:37:19
【问题描述】:

我在 IIS6 上遇到的情况很少。 我有 1 个不使用身份的应用程序池:网络服务。 仅适用于 Identity Local System,但使用这是危险的(高度权限级别)。 网页asp.net打开,但应用程序asp.net尝试连接数据库,出现如下错误:

Event Type: Information Event Source:   ASP.NET 2.0.50727.0 Event Category: Web Event  Event ID:    1314 Date:      7/6/2013 Time:      12:05:04 PM User:       N/A Computer:   WWW Description: Event code: 4011  Event message: An unhandled access exception has occurred.  Event time: 7/6/2013 12:05:04 PM  Event time (UTC): 7/6/2013 4:05:04 PM  Event ID: aa4f0c3196864dc391467c9492a1b8a3  Event sequence: 10  Event occurrence: 1  Event detail code: 0    Application information: 
    Application domain: /LM/W3SVC/1598207490/Root-4-130176002992160068 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Inetpub\WebVarios\WebLocutorios\ 
    Machine name: WWW    Process information: 
    Process ID: 1572 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE    Request information: 
    Request URL: http://casetas.cuentacentral.com/ajax/logincenter.aspx 
    Request path: /ajax/logincenter.aspx 
    User host address: 190.135.0.26 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE    Custom event details: 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

【问题讨论】:

    标签: iis-6


    【解决方案1】:

    很可能 NETWORK SERVICE 用户没有足够的数据库访问权限。 尝试禁用任何自定义错误处理程序(如 web.config 中的 customErrors)并查看输出。或者,您可以将 VS 调试器附加到 w3wp.exe 进程并在异常处理之前查看它们。

    【讨论】:

    • 我收到错误 404,但使用身份时资源存在:本地系统。无法找到该资源。说明:HTTP 404。您要查找的资源(或其依赖项之一)可能已被删除、名称已更改或暂时不可用。请检查以下 URL 并确保其拼写正确。
    • 网络服务用户的文件系统权限如何?它是否有权访问请求的文件?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-10-10
    • 1970-01-01
    • 2013-01-08
    • 1970-01-01
    • 1970-01-01
    • 2011-03-08
    相关资源
    最近更新 更多