【问题标题】:IIS windows authentication install difficultiesIIS windows身份验证安装困难
【发布时间】:2017-01-14 10:44:02
【问题描述】:

我正在尝试在我的本地计算机上安装 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。然后我在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>

我还在&lt;system.webServer&gt;&lt;modules&gt;下添加&lt;add name="WindowsAuthenticationModule" lockItem="true" /&gt;

我对 2 个文件执行此操作,因为我不确定是否应仅对后一个文件执行此操作(iis 而不是 iisexpess)。但即使进行了这些更改,它也不起作用,令我惊讶的是,当我在编辑文件后打开 iis 时,我也没有在身份验证窗格的身份验证列表中找到 Windows 身份验证。所以我得出结论,编辑根本没有用,也没有对 IIS 进行任何更改。

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

【问题讨论】:

标签: windows authentication iis mds


【解决方案1】:

您将在此处找到如何添加它,然后您就可以使用它了: https://weblogs.asp.net/zroiy/missing-windows-authentication-provider-for-iis-7-on-windows-server-2008

【讨论】:

  • 你好 DJPillowhead。正如我在描述中所说,在安全节点下的 Windows Web 服务器角色中,复选框中只有基本身份验证提示,没有 Windows 身份验证!这就是让我吃惊的地方!!
猜你喜欢
  • 1970-01-01
  • 2011-09-24
  • 1970-01-01
  • 2011-07-22
  • 2011-06-13
  • 1970-01-01
  • 1970-01-01
  • 2015-12-18
  • 1970-01-01
相关资源
最近更新 更多