【发布时间】:2016-05-13 05:21:06
【问题描述】:
我有一个简单的 WCF 服务托管在网络服务器上的 IIS6 上。
当我在网络中的服务器上使用以下绑定时,我得到了 404,如果只是将 clientCredentialType 设为 None,它可以工作,也可以在我的机器上工作,为什么 Windows 身份验证在服务器上失败,404 实际上意味着它甚至看不到端点,如果是代理问题如何解决。
<basicHttpBinding>
<binding name="HttpWindowsAuthentication"
maxReceivedMessageSize="1048576" bypassProxyOnLocal="true"
useDefaultWebProxy="false">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" proxyCredentialType="None"/>
</security>
</binding>
</basicHttpBinding>
谢谢
【问题讨论】:
标签: wcf authentication http-status-code-404