I have a WCF service deployed on IIS. When I browse to the service
through IE everything is peachy. WHen I try to add a reference to teh
service in VIsual Studio 2008 "Add Service Reference" I get prompted
to login and the title of the login box reads "Discovery Credential".
I enter in my username and pass and it prompts me again. I enter an
admin user and pass and it still prompts me. What could be causing
this?
Marc S - 08 May 2008 18:28 GMT
1.) Execute the steps in the Workaround section of the following
article: http://support.microsoft.com/kb/871179. This forces the
services to use NTLM authentication.
2.) Modify the properties of the service and client projects to use
NTLM authentication.
3.) Modify the Web.config file of the service to force the http
binding transport to "Ntlm" for both client and proxy credential
types.
<basicHttpBinding>
<binding name="basicHttpBinding1">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Ntlm"
proxyCredentialType="Ntlm"/>
</security>
</binding>
</basicHttpBinding>