Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > request failed with HTTP status 407: Proxy Authentication Required

Reply
Thread Tools

request failed with HTTP status 407: Proxy Authentication Required

 
 
Scott O'Donnell
Guest
Posts: n/a
 
      02-14-2005
Hi all.

I have been strugling with trying to get access to a web reference in my web
project that is outside my firewall (ISA 2000 server running on Win 2k3
server). I have researched this issue thoroughly reading up on kb articles:
307220; 330221; 318140 as well as numerous posts related to proxy issues but
have had no luck resolving this issue.

As of this writing I have done the following in various combinations:

1) modified web.config and/or machine.config with:
<code>
<identity impersonate="true" userName="myUserName" password="myPassword" />

<system.net>
<defaultProxy>
<proxy usesystemdefault="false" proxyaddress="http://myServer:8080"
bypassonlocal="true"/>
</defaultProxy>
</system.net>
</code>
2) modifications to VB class:
<code>
Dim ws As New myWebService
Dim oProxy = New WebProxy(myProxy, True)
ws.Proxy = oProxy
Dim oCredentials As New NetworkCredential("myUserName",
"myPassword", "myDomain")
ws.Credentials = oCredentials
Dim strMyResult As String = ws.MyMethod(myParam)
</code>

In my dev environment I can modify the configuration of the proxy server.
When I turn off authentication everything works fine. If I turn on
authentication (any type (all permutations of Basic/Digest/Integrated)) the
request fails with a 407 error.

I have done everything I can to resolve this issue on my own. Any help
would be greatly appreciated!
Thanks in advance for your time.
Scott
 
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
HTTP Status 407: Proxy Authentication Required Sau ASP .Net Web Services 2 12-15-2009 11:08 AM
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 502: Bad Gateway muradmeghani@gmail.com ASP .Net 1 02-06-2006 10:56 PM
The request failed with HTTP status 401: Unauthorized Sachin ASP .Net 2 11-04-2005 09:15 PM



Advertisments