Configure windows Authentication in IIS 8.5 on Windows Server 2012

北城以北 提交于 2019-12-11 11:05:42

问题


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.

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.

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


回答1:


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

  • How to enable Windows Authentication on a Windows Server 2012 IIS website using Powershell?

Short answer is:

  • 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

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.



来源:https://stackoverflow.com/questions/36503115/configure-windows-authentication-in-iis-8-5-on-windows-server-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!