2013-07-06 129 views
0

我在IIS6上出现严重情况。 我有1个应用程序池无法使用身份:网络服务。 只能使用身份本地系统,但使用此功能会导致危险(身高许可级别)。 该网页asp.net开放,但应用程序asp.net尝试连接数据库按照下面的错误:网络服务身份验证的IIS 6错误

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. 

回答

1

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

+0

我收到错误404,但使用身份时存在资源:本地系统。 找不到资源。 描述:HTTP 404.您正在查找的资源(或其某个依赖项)可能已被删除,名称已更改或暂时不可用。请检查以下网址并确保它拼写正确。 – toto

+0

网络服务用户的文件系统权限如何?它是否有权访问请求的文件? –