Windows Vista Beta | WinVistaBeta.com - Message | Add Service Reference - Discovery Credential prompt

July 05, 2008  
Subject: Add Service Reference - Discovery Credential prompt
Group: microsoft.public.vstudio.general
Date: 4/28/2008 7:25:02 AM
From: Marc S [Email Address Protection]

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?

Back
Subject: Re: Add Service Reference - Discovery Credential prompt
Group: microsoft.public.vstudio.general
Date: 5/8/2008 10:28:03 AM
From: Marc S [Email Address Protection]

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>



Back