Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > errr: System.Net.WebException: The request failed with HTTP status 401: Unauthorized

Reply
Thread Tools

errr: System.Net.WebException: The request failed with HTTP status 401: Unauthorized

 
 
SenthilVel
Guest
Posts: n/a
 
      04-10-2007
hi all,
we get an error like :
System.Net.WebException: The request failed with HTTP status 401:
Unauthorized for one of our web service.

This service is being called from a utility either from the same machine or
can also be from a different machine.

we have also provided the

CredentialCache cache = new CredentialCache();

cache.Add(new Uri(theMICService.Url), "Negotiate", new
NetworkCredential(userId, password, "domainname"));

but still weget the error , what could be the possible reasons ?

Any help much appreciated....

Thanks

Senthil

http://dotnetcrunch.blogspot.com/




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ReportingService.Credentials - Syste.Net.WebException - "The request failed with HTTP status 401: Unauthorized." Shree ASP .Net 0 09-02-2006 07:33 PM
The request failed with HTTP status 401: Unauthorized ad ASP .Net 2 02-18-2006 12:11 AM
The request failed with HTTP status 401: Unauthorized ad ASP .Net 0 02-17-2006 06:14 AM
The request failed with HTTP status 401: Unauthorized Sachin ASP .Net 2 11-04-2005 09:15 PM
The request failed with HTTP status 401: Unauthorized. Kevin Burton ASP .Net Web Services 2 12-19-2004 08:02 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57