通常在设置 IIS 7 时,我习惯于在我的 Web 应用程序的根文件夹上允许用户IIS APPPOOL\{application pool name}的权限。我还给IUSR(或IIS_IUSRS 用户组)授予了权限。(注意,在Windows Server 2008 中,我发现IUSR 默认不在那个组中,所以我添加了它)。
在 Windows Server 2008 中,我在 Windows Folder Properties下的Security下找不到用户IIS APPPOOL\{application pool name}。我在 ASP.NET 中使用 Windows 身份验证。收到身份验证提示后,我在 Internet Explorer 8 的页面上收到了 401.1。Mozilla Firefox 还给了我一个 Windows 身份验证提示,让我顺利进入该站点。与谷歌浏览器相同。
我该如何解决这个问题?
HTTP 错误 401.1 - 未经授权 您无权使用您提供的凭据查看此目录或页面。
具体页面信息:
Module: WindowsAuthenticationModule
Notification: AuthenticateRequest
Handler: PageHandlerFactory-ISAPI-4.0_32bit
Error Code: 0x8009030e
Requested URL: http://.....aspx
Physical Path: C:\.........aspx
Logon Method: Not yet determined
Logon User: Not yet determined
Run Code Online (Sandbox Code Playgroud)