简体   繁体   English

Windows身份验证不适用于IIS7中部署的2.0 asp.net Web应用程序

[英]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.

相关问题 ASP.NET的IIS7身份验证配置 - IIS7 authentication configuration for ASP.NET 在IIS上部署时,ASP.NET 4.5身份验证重定向不起作用 - ASP.NET 4.5 Authentication Redirect Not Working When Deployed on IIS IIS7上的ASP.NET身份验证问题-Windows身份验证的User.Identity.Name为空 - ASP.NET Authentication Issues on IIS7 - User.Identity.Name is empty for Windows authentication 在IIS7上部署ASP.NET OLEDB代码时会中断 - ASP.NET OLEDB code breaks when deployed on IIS7 对于iis7应用程序asp.net 2.0的ConCurrent Users限制 - ConCurrent Users Limit for iis7 application asp.net 2.0 ASP.NET Windows身份验证模式,IIS7和自定义错误页面-怎么样? - ASP.NET Windows Authentication Mode, IIS7 and custom error pages - how? Asp.net形成身份验证cookie,不遵守IIS7的超时 - Asp.net forms authentication cookie not honoring timeout with IIS7 ASP.NET Windows身份验证在IIS 7.5中不起作用 - ASP.NET Windows Authentication not working in IIS 7.5 在IIS上运行ASP.Net和Windows身份验证时出现问题 - Issue getting ASP.Net and Windows Authentication working on IIS 无法从IIS7中托管的ASP.Net Web应用使用Win Auth连接到数据库 - Unable to connect to database using Win Auth on from ASP.Net web app hosted in IIS7
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM