Re: The request failed with HTTP status 401: Unauthorized
- From: "Scott M." <s-mar@xxxxxxxxxxxxx>
- Date: Thu, 6 Apr 2006 18:25:11 -0400
Please show the code you are using to create the web service instance.
"BigJohn" <bigjohn@xxxxxxxxxxxxxxxx> wrote in message
news:A7655A02-E456-488A-8185-B54677172432@xxxxxxxxxxxxxxxx
I tried this method and Josh's (set web service with anonymous auth) and
cannot bet either to funtion. I am running on Windows XP Pro, all modules
are within same solution.
"Scott M." wrote:
The web service you are attempting to access requires that the caller
provide its credentials to prove that it should be allowed to access the
web
service. You can use this code to send the "default credentials" to the
web
service:
Dim myProxy As New localhost.Service1()
myProxy.Credentials = System.Net.CredentialCache.DefaultCredentials
"manika02" <manika02@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B7D2BF65-9F76-459B-A6D7-361ADA79EF2B@xxxxxxxxxxxxxxxx
Hi,
I get the following eror when I try to call my WebService (on the local
machine) using another Web application (on the local machine)
System.Net.WebException: The request failed with HTTP status 401:
Unauthorized
Any insights on this would be helpful.
Thanks
.
- Follow-Ups:
- Re: The request failed with HTTP status 401: Unauthorized
- From: geyser hi
- Re: The request failed with HTTP status 401: Unauthorized
- From: geyser hi
- Re: The request failed with HTTP status 401: Unauthorized
- Prev by Date: iss gives cannot find error for asmx page
- Next by Date: Re: Unauthorized Error
- Previous by thread: iss gives cannot find error for asmx page
- Next by thread: Re: The request failed with HTTP status 401: Unauthorized
- Index(es):
Relevant Pages
|