Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > ISA server authentication failed error

Reply
Thread Tools

ISA server authentication failed error

 
 
rk1
Guest
Posts: n/a
 
      02-26-2007
Hi friends
i've .net component that i use in visual foxpro 9. this component
connects to a web service and returns some data.
when i ever i try to connect i get following error

"The request failed with HTTP status 407: Proxy Authentication
Required ( The ISA Server requires authorization to fulfill the
request. Access to the Web Proxy service is denied. )."

i know that since we have a proxy server in our network i need to pass
my login credentials to get it thru.
so i tried following
Proxy = System.Net.WebRequest.DefaultWebProxy;
sg.Credentials = System.Net.CredentialCache.DefaultNetworkCredentia ls;

help file says that "DefaultNetworkCredentials" will return current
login windows credentials but when i run with above code i get same
error!. but if i try following it works fine

System.Net.NetworkCredential credential = new
System.Net.NetworkCredential(@"username", "password","ourdomain");
Proxy.Credentials = credential;

this user name and password same as current logged in user but why my
first code does not work ?
am i missing anything here ?

 
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
ISA Server 2000 error(host not found. ... 11004) vijayreddy Computer Support 0 06-23-2007 07:46 AM
The connection to the server has failed. Account: 'incoming.yahoo.verzon.net', Server: 'incoming.yahoo.verizon.net', Protocol: POP3, Port: 110, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E Michael Bower Computer Support 3 10-01-2006 03:44 PM
FTP outward traffic causing "Unidentified IP traffic" error on ISA 2004 server connected to a PIX quentinhudson@hotmail.com Cisco 0 05-31-2006 11:43 AM
Exchange Server 2003 and ISA Server 2004 Dingus Computer Support 4 03-25-2006 05:06 PM
ISA Server Digest Authentication Problems Tom O'Connell via .NET 247 ASP .Net Security 0 06-17-2004 10:36 PM



Advertisments