I have a simple WCF service hosting on IIS6 on a server on the network.
When I use the following binding on a server in my network I got 404, if just made clientCredentialType None, it works, also it works on my machine, why Windows authentication fails on server, 404 actually means it cannot even see the endpoint, if it is a proxy problem how to fix that.
<basicHttpBinding>
<binding name="HttpWindowsAuthentication"
maxReceivedMessageSize="1048576" bypassProxyOnLocal="true"
useDefaultWebProxy="false">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" proxyCredentialType="None"/>
</security>
</binding>
</basicHttpBinding>
thanks
Thanks Shiraz
It is security problem, I simply did not specify Windows authentication in WCF configuration file, also mexHttpBinding did not work with windows authentication!!.
Some Clients on network was using impersonation by mistake, they got 401, so I clear the option from IIS see http://msdn.microsoft.com/en-us/library/aa292118%28VS.71%29.aspx