SgDotNet
Singapore Professional .NET User Group -For Cool Developers

Problem with Discovery Credential when adding web reference

rated by 0 users
This post has 2 Replies | 1 Follower

Top 500 Contributor
Posts 2
zish0 Posted: 12-21-2006 4:47 PM
Hi guys,

I'm trying to build a distributed application on intranet. And i'm following the walkthrough found here at http://msdn2.microsoft.com/en-us/library/1as0t7ff(VS.71).aspx

Everything is okie until the Creating of User Interface when i need to add a web reference to the ASP .NET Web Service project created earlier in the walk through. The database and web service is in Computer A and the Windows client will be Computer B. When i add reference to the windows client in Computer B there will be a "Discovery Credential" window which states "Please supply the credential information to access the given url." Prompting me to enter an user name and password.

After a few unsuccessful attempts there will be an error.
"There was an error downloading 'http://servername/abc/abc.asmx'.
The underlying connection was closed: Unable to connect to the remote server."

I've configured the Integrated Windows authentication as followed in the walkthrough and i'm using VB .NET 2003, SQL Server 2000 and ASP .NET 1.1

Anyone here can enlighten me and let me know how i can solve this problem? I'm stuck for days already :(

Thanks in advance.
Top 10 Contributor
Posts 2,284

If you are simply learning it as a tutorial to grasp the functional aspect of web services, you can relax the security configuration of the web service  by allowing Annoymous Access for the web service's virtual directory properties in IIS.

You are probably facing failed credentials because the user account in the client machine B does not exists in server A, or the password defers, or the user does not have NTFS permissions to access the directory where the web service is located.

The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral

Top 500 Contributor
Posts 2

thanks icelava for the prompt reply.

Hmm.. so now there are possibly 3 situations in which the credential failed. How can i edit the codes or do adjustments to make it work?

Thanks a lot 

Page 1 of 1 (3 items) | RSS
Copyright SgDotNet 2004-2008
Powered by Community Server (Commercial Edition), by Telligent Systems