Windows 身份验证与 NTLM 问题

我想制作一个带有Windows身份验证的IIS(8.5.9600)Web服务,其提供者是NTLM。我的问题是我无法像我预期的那样使用我的 Windows 域凭据登录网站。两者都不适合我。目前我陷入困境,因为我无法登录并查看带有网络服务的网站。

Windows 版本:Microsoft Windows Server 6.2

我认为我的配置没有问题。

我尝试使用以下模式登录: DOMAIN\username username

网站认证配置: https: //ibb.co/FBZXqym

网站角色配置: https: //ibb.co/qDY1PWb

Web服务应用程序身份验证配置: https://ibb.co/LvZdF45

Windows 身份验证提供程序: https: //ibb.co/FVcxXTm

Web服务应用程序角色配置: https: //ibb.co/xHBvq9d

我还向 WebService 应用程序添加了 IIS 应用程序池用户的完全权限。

我的网络配置:

<configuration>

<system.web>

  <compilation debug="true" targetFramework="4.7.2" />

  <httpRuntime targetFramework="4.7.2" />

  <authentication mode="Windows"/>

  <authorization>

    <allow users="*" />

  </authorization>

</system.web>

<system.codedom>

  <compilers>

    <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />

    <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />

  </compilers>

</system.codedom>

<runtime>

  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

    <dependentAssembly>

      <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />

      <bindingRedirect oldVersion="0.0.0.0-4.9.2.0" newVersion="4.9.2.0" />

    </dependentAssembly>

  </assemblyBinding>

</runtime>

我想登录我的网络服务应用程序并查看标准 .asmx 页面。目前我不能。


小唯快跑啊
浏览 89回答 0
0回答
打开App,查看更多内容
随时随地看视频慕课网APP