我在 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.