iis windows authentication is missing at windows 10 (ASP.NET Visual Studio 2015)

血红的双手。 提交于 2019-12-17 19:37:20

问题


I am trying to run an asp .net website in Visual Studio 2015 that is using windows authentication in IIS7. Although I installed IIS in my PC, while trying to add "windows authentication" from

Control Panel-> Turn Windows features on or off-> Internet Information Services -> World Wide Web Services -> Security

it seems that this feature is missing from the list.

Have a look at the picture.

What other options do I have in order to run the project via windows authentication?


回答1:


Windows 10 Home edition doesn't include Windows Authentication (and a bunch of other IIS security features). However, the package with these features is sitting right there in your OS and you can manually install it.

All you need to do is open an elevated command prompt and run:

dism /online /norestart /add-package:%SystemRoot%\servicing\Packages\Microsoft-Windows-IIS-WebServer-AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.16299.15.mum

  • Filename above may be slightly different since it's based on system bitness and version

Then just make your way back to:

Turn Windows features on or off > Internet Information Services > World Wide Web Services > Security

All the "pro" options under Security will be available. Simply check "Windows Authentication" and reboot.




回答2:


Windows 10 Home edition does not support windows authentication in IIS. Once you upgrade to Windows 10 Pro, you will see several additional features in IIS, including windows authentication.




回答3:


Check if this feature is deployed:

At appwiz.cpl, select 'Turn Windows Features on or off', verify if Internet Information Services -> World Wide Web Services -> Security -> Windows Authentication is selected.




回答4:


Just rightclick on IIS and click open as 'Adminstrator'. Retry the same. It should work



来源:https://stackoverflow.com/questions/38048420/iis-windows-authentication-is-missing-at-windows-10-asp-net-visual-studio-2015

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