authentication - WCF The remote server returned an error: (404) Not Found -
i have simple wcf service hosting on iis6 on server on network.
when use following binding on server in network got 404, if made clientcredentialtype none, works, works on machine, why windows authentication fails on server, 404 means cannot see endpoint, if proxy problem how fix that.
<basichttpbinding> <binding name="httpwindowsauthentication" maxreceivedmessagesize="1048576" bypassproxyonlocal="true" usedefaultwebproxy="false"> <security mode="transportcredentialonly"> <transport clientcredentialtype="windows" proxycredentialtype="none"/> </security> </binding> </basichttpbinding>
thanks
it security related, since works when change clientcredentialtype.
that 404, improve security, system saying "i cannot find file", instead of saying "yes there file name not allowed @ it".
it looks user making wcf call not have access svc file, user running asp.net process does. user running asp.net process used anonymous clients.
the above assumes default settings.
Comments
Post a Comment