The remote server returned an error: (407) Proxy Authentication Required
Posted
by chris
on Stack Overflow
See other posts from Stack Overflow
or by chris
Published on 2010-04-05T22:40:38Z
Indexed on
2010/04/05
22:43 UTC
Read the original article
Hit count: 225
c#
I'm getting this error when I call a web service:
"The remote server returned an error: (407) Proxy Authentication Required".
I get the general idea and I can get the code to work by adding myProxy.Credentials= NetworkCredential("user", "password", "domain"); or by using DefaultCredentials in code. My problem is that the call to the web service works in production without this. It seems like there is a non code solution involving Machine.config, but what is it? At the moment I can't get to the production boxes machine.config file to see what that looks like. I tried updating my machine.config as follows, but I still get the 407 error.
© Stack Overflow or respective owner