Posted in General

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;

Advertisements

3 thoughts on “The request failed with HTTP status 407: Proxy authentication required

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s