473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

VS 2008 and Service References

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 the
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?

Our IIS requires us to use Windows authentication but we tested with
Anonymous and everything worked. Could it be a bug in VS that when you
attempt to add or update a service reference it does not pass any
credentials to the server?
Jun 27 '08 #1
2 3217
On Apr 30, 5:02*pm, Marc S <msci...@osmose.comwrote:
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 the
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?

Our IIS requires us to use Windows authentication but we tested with
Anonymous and everything worked. Could it be a bug in VS that when you
attempt to add or update a service reference it does not pass any
credentials to the server?
Same for "Add Web Reference".
Jun 27 '08 #2
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>

Yay, I can write code now!!!
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dave Rayment | last post by:
Hi, We have a multiple-project solution in VS.NET 2003, including a single web service. A couple of projects in the solution have references to this web service and everything was working OK...
11
by: =?Utf-8?B?QXNhZg==?= | last post by:
Hello, I have just installed VISTA Enterprise and VS.NET 2008. When pressing F5 to debug my test ASP.NET website, IE 7 display the message "Internet Explorer cannot display the webpage". The...
3
by: cj | last post by:
I know there is a menu somewhere in 2008 that lets you set the version of .net to build the app to. Where is it? I'm building a windows app if that makes a difference.
4
by: Ken Fine | last post by:
I've been living with a frustrating issue with VS.NET for some months now and I need to figure out what the problem is. Hopefully someone has run into the same issue and can suggest a fix. I...
3
by: Lloyd Sheen | last post by:
The text below is from the immediate window: ?DownloadZipFile.Attributes.Count 1 ?DownloadZipFile.Attributes(0) Nothing Now that makes no sense. Why when I add an attribute to a element...
4
by: =?Utf-8?B?TWlrZSBHYWxl?= | last post by:
VS 2008 initially didn't debug classic ASP. SP1 fixes this in some ways. You can debug if you select the debug option to "Start Without Debugging, then either attach the debugger manually or...
1
by: =?Utf-8?B?QW50amU=?= | last post by:
I need product keys for Terminal Server Windows Server 2008 access (CALs) under MSDN - TSLM Service said they cannot provide product keys for the access.
1
by: Puja Patel | last post by:
hi all, am not sure if this is the right place for this post. I created a website on .net framework 2.0 using visual studio 2005 and web service software factory. I created all my business...
2
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a server 2008 IIS 7.0 with indexing service installed. I have created the catalog and have a test page using these posts:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.