使用Windows身份验证的ASP.NET / IIS应用程序不断提供登录弹出窗口

时间:2011-07-18 18:28:24

标签: asp.net popup windows-authentication

他们通常可以访问主页(与其他页面具有相同的安全性),然后在某些时候,他们会因登录而受到挑战。一些用户立即受到挑战,永远不会进入主页。

但并非适用于所有用户,并且对于有问题的用户,他们说等一天,他们可以再次登录。有没有搞错!?

查看事件日志,它只是说URL authorization failed for the request.如果一直发生在用户身上,我可以很容易地调试它,但它来来去去了!

我正在使用ASP.Net 2.0授权(角色和用户)和Windows集成身份验证。用户主要运行IE6,有些是IE8,但两个版本都遇到了问题。 IIS配置为NTLM。使用Fiddler,看起来浏览器要求NEGOTIATE然后安顿在NTLM上。我没办法。任何我应该看的想法。

Windows应用程序事件:

Event Type:        Information
Event Source:    ASP.NET 2.0.50727.0
Event Category:                Web Event 
Event ID:              1314
Date:                     7/5/2011
Time:                     2:55:06 PM
User:                     N/A
Computer:          {server}
Description:
Event code: 4007 
Event message: URL authorization failed for the request. 
Event time: 7/5/2011 2:55:06 PM 
Event time (UTC): 7/5/2011 9:55:06 PM 
Event ID: e634bad1af3845619cf6eecffd2caa84 
Event sequence: 40 
Event occurrence: 1 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/1/Root/QER-1-129543759860957088 
    Trust level: Full 
    Application Virtual Path: /QER 
    Application Path: E:\QER\ 
    Machine name: {server}

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

Request information: 
    Request URL: http://{server}/QER/reports/QuarterlyReport.aspx?position=14190&fiscal_year=2&quarter=1 
    Request path: /QER/reports/QuarterlyReport.aspx 
    User host address: 142.52.48.43 
    User: {DOMAIN}/{user}
    Is authenticated: True 
    Authentication Type: Negotiate 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 

0 个答案:

没有答案