简体   繁体   中英

Configure windows Authentication in IIS 8.5 on Windows Server 2012

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.

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM