在Windows Server 2012的IIS 8.5中配置Windows身份验证 [英] Configure windows Authentication in IIS 8.5 on Windows Server 2012

查看:189
本文介绍了在Windows Server 2012的IIS 8.5中配置Windows身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我进行了足够的搜索,但找不到解决方案.我在Windows Server 2008 IIS 7.5上有一个具有Windows身份验证的ASP.NET Intranet应用程序-一切正常.

I searched enough but couldn't find a solution. I have a ASP.NET Intranet app at Windows Server 2008 IIS 7.5 with windows authentication - this all work great.

我一直在尝试将其迁移到Windows Server2012.我已经为服务器安装了Windows身份验证角色,并且已经为网站启用了Windows身份验证.

I have been trying to migrate it to Windows Server 2012. I have already installed Windows Authentication role for the server and already enabled the windows authentication for the web site.

该应用程序对于我的帐户而言似乎运行良好,但是如果有人尝试连接,他们将获得Windows登录弹出窗口.

The application seems to be working fine for my account but if anybody else try to connect they get windows login popup.

推荐答案

我遇到了类似的问题.我写下了这个答案:

I was having similar issues. I wrote up this answer:

最简单的答案是:

  • 确保已安装 Web-Windows-Auth
  • 确保已为Windows身份验证设置了 Set-WebConfigurationProperty (并且我也关闭了匿名身份验证)
  • 确保已正确设置Web.Config
  • Ensure you have Web-Windows-Auth installed
  • Ensure Set-WebConfigurationProperty has been set for Windows Authentication (and I turned off Anonymous Authentication too)
  • Ensure your Web.Config is properly setup

最大的区别是IIS默认情况下已将其关闭,即使您的Web.Config配置正确,您也必须显式启用它才能使用它.

The biggest difference is IIS has turned this off by default, and you have to explicitly enable it to use it, even though your Web.Config is configured correctly.

这篇关于在Windows Server 2012的IIS 8.5中配置Windows身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆