简体   繁体   English

IIS Windows身份验证安装困难

[英]IIS windows authentication install difficulties

I am trying to install Master Data Service MSD on my local machine. 我正在尝试在我的本地计算机上安装Master Data Service MSD。 Theorically there are 3 steps : 理论上有3个步骤:

  • pre-installation tasks 预安装任务

  • Installation tasks 安装任务

  • post-Installation tasks 安装后任务

During the pre-installation tasks we verify the installation requirements. 在预安装任务期间,我们验证安装要求。

The Master Data Services web application needs some Windows Web Server roles and role services. Master Data Services Web应用程序需要一些Windows Web Server角色和角色服务。 Among these services we have the "Windows Authentication" (under Security). 在这些服务中,我们有“Windows身份验证”(在安全性下)。

The problem is that I did not find under security node Windows Authentication . 问题是我没有在安全节点Windows Authentication下找到。 Instead I find Basic Authentication . 而是找到Basic Authentication

My OS is Windows 10. 我的操作系统是Windows 10。

To install (add) the the desired roles I follow the theoritical instructions: 要安装(添加)所需的角色,请遵循以下理论说明:

Control panel| Programs and features| turn Windows Featues on or off Control panel| Programs and features| turn Windows Featues on or off . Control panel| Programs and features| turn Windows Featues on or off I then expand Security under World Wide Web Services but there is no Windows authentication among the check boxes, there is only basic authentication. 然后,我在World Wide Web Services下展开Security ,但复选框中没有Windows身份验证,只有基本身份验证。

Also when I open IIS and double click Authentication pane there are 4 Authentication ( basic, anonymous,ASP.net impersonation and formular ), so again, I don't find windows Authentication . 此外,当我打开IIS并双击身份验证窗格时,有4个身份验证( basic, anonymous,ASP.net impersonation and formular ),所以再次,我没有找到windows Authentication

I read some suggestions on the internet telling that we can edit the applicationHost.config file. 我在互联网上阅读了一些建议,告诉我们可以编辑applicationHost.config文件。 I find 2 file on different paths. 我在不同的路径上找到2个文件。

The location of the first one is: C:\\Program Files (x86)\\IIS Express\\AppServer 第一个的位置是: C:\\Program Files (x86)\\IIS Express\\AppServer

and the second location is: C:\\Windows\\System32\\inetsrv\\config 第二个位置是: C:\\Windows\\System32\\inetsrv\\config

In those files I replace <windowsAuthentication /> under 在那些文件中,我替换了下面的<windowsAuthentication />

<security><authentication> node by : <security><authentication>节点:

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

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

I did this on the 2 files because I was not sure whether it should be done only on the latter one or not (iis and not iisexpess). 我在2个文件上做了这个,因为我不确定它是否应该仅在后者上完成(iis而不是iisexpess)。 But even with those changes it does not work and what surprise me is that when I open iis after editing file, I also don't find windows aythentication among the authentication list in Authentication pane. 但即使有了这些更改它也无法正常工作,让我感到惊讶的是,当我在编辑文件后打开iis时,我也没有在Authentication窗格中的身份验证列表中找到Windows身份验证。 So I conclude that editing did not serve at all and make no change to IIS. 因此,我得出结论,编辑根本不起作用,并且不会对IIS进行任何更改。

Of course because I failed to enable Windows Authentication when I open MDS (to do the installation step), I get a warning error telling that IIS is not configured correctly because windows authentication is not installed on this server. 当然,因为我打开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