繁体   English   中英

IIS Windows身份验证安装困难

[英]IIS windows authentication install difficulties

我正在尝试在我的本地计算机上安装Master Data Service MSD。 理论上有3个步骤:

  • 预安装任务

  • 安装任务

  • 安装后任务

在预安装任务期间,我们验证安装要求。

Master Data Services Web应用程序需要一些Windows Web Server角色和角色服务。 在这些服务中,我们有“Windows身份验证”(在安全性下)。

问题是我没有在安全节点Windows Authentication下找到。 而是找到Basic Authentication

我的操作系统是Windows 10。

要安装(添加)所需的角色,请遵循以下理论说明:

Control panel| Programs and features| turn Windows Featues on or off Control panel| Programs and features| turn Windows Featues on or off 然后,我在World Wide Web Services下展开Security ,但复选框中没有Windows身份验证,只有基本身份验证。

此外,当我打开IIS并双击身份验证窗格时,有4个身份验证( basic, anonymous,ASP.net impersonation and formular ),所以再次,我没有找到windows Authentication

我在互联网上阅读了一些建议,告诉我们可以编辑applicationHost.config文件。 我在不同的路径上找到2个文件。

第一个的位置是: C:\\Program Files (x86)\\IIS Express\\AppServer

第二个位置是: C:\\Windows\\System32\\inetsrv\\config

在那些文件中,我替换了下面的<windowsAuthentication />

<security><authentication>节点:

<windowsAuthentication enabled="true">
                <providers>
                    <add value="Negotiate" />
                    <add value="NTLM" />
                </providers>
            </windowsAuthentication>

我还在<system.webServer><modules>下添加<add name="WindowsAuthenticationModule" lockItem="true" /> <system.webServer><modules>

我在2个文件上做了这个,因为我不确定它是否应该仅在后者上完成(iis而不是iisexpess)。 但即使有了这些更改它也无法正常工作,让我感到惊讶的是,当我在编辑文件后打开iis时,我也没有在Authentication窗格中的身份验证列表中找到Windows身份验证。 因此,我得出结论,编辑根本不起作用,并且不会对IIS进行任何更改。

当然,因为我打开MDS时无法启用Windows身份验证(执行安装步骤),我收到一条警告错误,告知IIS未正确配置,因为此服务器上未安装Windows身份验证。

你会在这里找到如何添加它,之后你就可以使用它了: https//weblogs.asp.net/zroiy/missing-windows-authentication-provider-for-iis-7-on-windows -server-2008

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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