Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / May 2008

Tip: Looking for answers? Try searching our database.

Add Service Reference - Discovery Credential prompt

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marc S - 28 Apr 2008 15:25 GMT
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>

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.