小编Dav*_*ave的帖子

IIS 7.5 Windows身份验证失败,401

由于我们从IIS 7.0迁移到IIS 7.5,因此远程请求不再使用Windows身份验证.如果我在网络服务器上打开网站,一切正常.

web.config中:

<authentication mode="Windows" />
<identity impersonate="true" />
<authorization>
        <deny users="?" />
        <allow users="*" />
</authorization>
Run Code Online (Sandbox Code Playgroud)

IIS设置:

Authentication (enabled): ASP.NET Impersonation, Windows Authentication (all others are disabled)
ApplicationPool: Managed Pipeline Mode -> Classic, Identity -> ApplicationPoolIdentity
Run Code Online (Sandbox Code Playgroud)

请求跟踪失败:

MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName: WindowsAuthenticationModule
Notification: 2
HttpStatus: 401
HttpReason: Unauthorized 
HttpSubStatus: 1
ErrorCode: 2148074254 
ConfigExceptionInfo:  
Notification: AUTHENTICATE_REQUEST
ErrorCode No credentials are available in the security package (0x8009030e) 
Run Code Online (Sandbox Code Playgroud)

有什么建议?

windows iis windows-authentication iis-7.5

7
推荐指数
1
解决办法
3万
查看次数

标签 统计

iis ×1

iis-7.5 ×1

windows ×1

windows-authentication ×1