[英]Windows authentication not working for a 2.0 asp.net web app deployed in IIS7
I have deployed a asp.net 2.0 framework web application on IIS 7.0. 我已经在IIS 7.0上部署了一个asp.net 2.0框架Web应用程序。
I have enabled the windows authentication and disabled all other authentications. 我已启用Windows身份验证并禁用了所有其他身份验证。 The managed pipelined mode is classic.
托管流水线模式是经典模式。 Pass through authentication is checked as well.
还检查通过认证。
The web app is required to display the "Welcome username". 该Web应用需要显示“欢迎用户名”。 However, it is not taking the username from the windows login and displaying "Welcome System".
但是,它不会从Windows登录名中获取用户名并显示“ Welcome System”。
The app pool identity is set to Local System. 应用程序池标识设置为“本地系统”。 If I change the app pool identity to Network service, it shows "Welcome Network Service".
如果我将应用程序池标识更改为“网络服务”,它将显示“欢迎网络服务”。
I changed the applicationhost file as well to enable the windows authentication in it but that didn't help too. 我也更改了applicationhost文件以在其中启用Windows身份验证,但这也无济于事。 I have moved NLTM over Negotiate in providers as well.
我也将NLTM移交给了提供商中的Negotiate。
设置Impersonate = true有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.