【问题标题】:After Server reboot integrated authentication no longer works with IIS Site服务器重新启动后,集成身份验证不再适用于 IIS 站点
【发布时间】:2013-11-28 17:19:45
【问题描述】:

托管我的 IIS 站点的服务器刚刚重新启动,现在当我导航到我的内部站点时,我遇到了 401 挑战,它应该是 Windows 集成的。它也不接受凭据。

以下是当前配置,它在重新启动之前全部工作,此后我没有更改任何代码。有什么想法吗?

谢谢

网络配置

<system.web>
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB" />
    <authentication mode="Windows" />
    <identity impersonate="true" />
    <authorization>
      <deny users="?" />
    </authorization>
    <roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider">
      <providers>
        <clear />
        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
      </providers>
    </roleManager>
    <customErrors mode="Off" />
    <compilation debug="true" targetFramework="4.0">

IIS 设置

Authentication
Anyon: Enabled
ASP.net Imper Enabled
Windows Auth Enabled

应用程序池

.net 4.9
Managed pipeline intergrated
identity applicationpoolidentity

【问题讨论】:

    标签: asp.net-mvc-4 authentication iis-7.5 windows-authentication


    【解决方案1】:

    我解决了这个问题。我的服务器需要添加 SPN

    【讨论】:

    • 能否请您添加一些关于您如何解决此问题的详细信息?只是说“添加 SPN”没有多大意义。
    猜你喜欢
    • 1970-01-01
    • 2010-12-05
    • 2014-10-31
    • 2020-08-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多