我正在尝试访问本地网络服务器上的网页。当我浏览页面时,我得到了windows auth challange。即使我试图输入我的凭据,它仍然要求再次询问。正如您从以下错误消息中看到的那样,我已通过身份验证。
我检查了用户帐户,它可以访问根文件夹和所有下层文件夹。我收到IIS中所有站点的此错误消息
有什么建议吗?
Log Name: Application Source: ASP.NET 4.0.30319.0 Date: 1/5/2012 4:12:33 PM Event ID: 1314 Task Category: Web Event Level: Information Keywords: Classic User: N/A Computer: SALTIIS01 Description: Event code: 4008 Event message: File authorization failed for the request. Event time: 1/5/2012 4:12:33 PM Event time (UTC): 1/6/2012 12:12:33 AM Event ID: 349fcb2ec3c24b16a862f6eb9b23dd6c Event sequence: 7 Event occurrence: 3 Event detail code: 0 Application information: Application domain: /LM/W3SVC/2/ROOT/Application/SNCDW-19-129702818025409890 Trust level: Full Application Virtual Path: /Application/SNCDW Application Path: D:\Sites\WCF\Application\SNCDW\ Machine name: SALTIIS01 Process information: Process ID: 1896 Process name: w3wp.exe Account name: iisservice Request information: Request URL: http://webservicestest/Application/SNCDW/PC.svc Request path: /Application/SNCDW/PC.svc User host address: 10.60.16.79 User: js3228 Is authenticated: True Authentication Type: Negotiate Thread account name: iisservice
自定义活动详情:
事件Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 4.0.30319.0" />
<EventID Qualifiers="16384">1314</EventID>
<Level>4</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-01-06T00:12:33.000000000Z" />
<EventRecordID>4189</EventRecordID>
<Channel>Application</Channel>
<Computer>SALTIIS01.intranet.com</Computer>
<Security />
</System>
<EventData>
<Data>4008</Data>
<Data>File authorization failed for the request.</Data>
<Data>1/5/2012 4:12:33 PM</Data>
<Data>1/6/2012 12:12:33 AM</Data>
<Data>349fcb2ec3c24b16a862f6eb9b23dd6c</Data>
<Data>7</Data>
<Data>3</Data>
<Data>0</Data>
<Data>/LM/W3SVC/2/ROOT/Application/SNCDW-19-129702818025409890</Data>
<Data>Full</Data>
<Data>/Application/SNCDW</Data>
<Data>D:\Sites\WCF\Application\SNCDW\</Data>
<Data>SALTIIS01</Data>
<Data>
</Data>
<Data>1896</Data>
<Data>w3wp.exe</Data>
<Data>iisservice</Data>
<Data>http://webservicestest/Application/SNCDW/PC.svc</Data>
<Data>/Application/SNCDW/PC.svc</Data>
<Data>10.60.16.79</Data>
<Data>js3228</Data>
<Data>True</Data>
<Data>Negotiate</Data>
<Data>iisservice</Data>
</EventData>
</Event>
答案 0 :(得分:6)
授予
读取权限IIS AppPool \ Your AppPool
在网站的根文件夹上。
答案 1 :(得分:3)
确保所有与IIS相关的用户都有权访问,其中包括:
此外,如果您使用的网站面板也一定要允许其用户。
答案 2 :(得分:0)
在我授予Everyone
访问权限之前,我无法使其正常工作。
C:\inetpub\wwwroot\MyWebsite
。Everyone
。答案 3 :(得分:0)
对于它的价值,@ J-man的评论(对“添加每个人为我工作的人”的答案)建议添加“用户”本地计算机帐户最终在为标记的答案添加后为我工作其他本地计算机帐户。 这也是他提供的link。