Dav*_*ave 7 windows iis windows-authentication iis-7.5
由于我们从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)
有什么建议?
我认为我们遇到了两跳问题。如果我将 SQL/Oracle DB 移动到运行 IIS 的服务器,它就可以工作。
所以这里有一篇文章描述了一个解决方案。
如何配置 SQL 和 IIS 以进行两跳 kerberos 身份验证 2
或 SSRS Reportviewer ASP.NET 凭据 401 异常
谢谢
| 归档时间: |
|
| 查看次数: |
26187 次 |
| 最近记录: |