0
我有一个小的,简单的ASP.Net 4.5.2 Web应用程序为其访问是通过IIS管理器用户限制在7.5 /工程。父站点是公开的(允许匿名/所有用户),并且应用程序已禁用所有身份验证,并且IIS用户在服务器级别以及IIS授权规则下添加,如下面的配置中所示。这适用于IIS 8.5,但在401未授权的情况下登录失败。IIS管理用户登录失败在8.5
我已经通过角色的功能和网站,服务器和应用程序设置和梳理我无法找到胜利Server 2008中主场迎战8.5在Win Server 2012的-R2上的两个之间的差异,比其他7.5。两者都有IIS管理服务与Windows和IIS管理器用户一起运行,并且未启用远程连接(仅用于应用程序访问,而不是管理)。两者都使用网络服务下的ASP.Net 4.0应用程序池,他们对这两个服务器上的Web文件夹结构拥有完全的权利。在寻找什么
想法,将不胜感激。
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<compilation strict="false" explicit="true" debug="false" targetFramework="4.5.2" />
<customErrors mode="Off" />
<httpRuntime targetFramework="4.5.2" />
<webServices>
<protocols>
<add name="HttpGet" />
<add name="HttpPost" />
</protocols>
</webServices>
</system.web>
<system.webServer>
<handlers>
<add verb="GET,POST" name="About" type="MyApp.About" path="About" />
</handlers>
<modules>
<!-- Replaces Global.asax -->
<add name="AppModule" type="MyApp.AppModule" />
<!-- Required for IIS Manager Users to browse the site -->
<add name="WebManagementBasicAuthentication" type="Microsoft.Web.Management.Server.WebManagementBasicAuthenticationModule, Microsoft.Web.Management, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</modules>
<defaultDocument enabled="false">
<files>
<clear />
</files>
</defaultDocument>
<directoryBrowse enabled="false" />
<security>
<authorization>
<clear />
<remove users="*" />
<add accessType="Allow" users="IIS.Manager.Username.Here" />
</authorization>
</security>
</system.webServer>
</configuration>