The request failed with HTTP status 407: Proxy authentication required

My wife developed a ConsoleApp that communicates to a Web Service which was deployed at client site later. The ConsoleApp gave a problem

The request failed with HTTP status 407: Proxy authentication required

When we googled for this problem, we found the link http://support.microsoft.com/default.aspx?scid=kb;en-us;330221 which instructs us to set the proxy settings as below…


WebProxy myProxy = new WebProxy("http://proxyserver:port",true);
myProxy.Credentials = new NetworkCredential("username", "password", "domain");
FindServiceSoap myFindService = new FindServiceSoap();
myFindService.Proxy = myProxy;

2 Responses

  1. This is quite a hot information. I’ll share it on Twitter.

  2. Everytime i come back here I’m reminded why I added your site to my favourites:)

Leave a Reply