Showing posts with label Proxy Authentication Required. Show all posts
Showing posts with label Proxy Authentication Required. Show all posts

Sunday, January 22, 2012

How to fix "The Remote server returned an error :(407) Proxy Authentication Required".

When your network use a proxy server for your LAN, you got the error for running the web application as below.
Error : The Remote server returned an error :(407) Proxy Authentication Required.

At that time, go Tools Menu> Internet Options> Connections Tab> LAN Settings and see Proxy Server information as below.


Add the following section to web.config.
<system.net>
    <defaultProxy enabled="true" useDefaultCredentials="true">
       <proxy  bypassonlocal="True" proxyaddress="http://webproxy:80/>
    </defaultProxy>
</system.net>

That's it. How's easy!