Posts filed under 'Proxy'

Setting A Proxy Server For Windows Updates On Vista

I've recently been trying to get automatic Windows updates working on Vista. Every time it tried to fetch the updates, it reported an error code of 80070057. After getting more detailed information from the WindowsUpdate.log in the Windows directory, the problem turned out to be the proxy server in our office. Whilst my user profile has the correct proxy server settings, the Background Intelligent Transfer Service (BITS) that is used to download Windows updates doesn't. The solution is to set the proxy server for the system.

To see the current proxy settings, run from the command line:

netsh winhttp show proxy

If it says "direct", there are no proxy settings and Windows update probably will not work.

To set the proxy settings, run from the command line (you will probably need to run this with administrative permissions):

netsh winhttp set proxy proxy-server="yourproxy:port"
bypass-list="<local>"

This will set the proxy server on the system to allow the BITS service to connect to the Windows updates servers.

1 comment Permalink June 25th, 2008 Adrian Banks
Subscribe to this feed Bookmark this post on del.icio.us Digg this post on digg.com Share this post

Visual Studio 2005 And Proxy Authentication

Using Visual Studio 2005 today, I received a "407 Proxy Authentication Required" message when trying to search the online help integrated into the IDE. KB910804 from Microsoft held the answer.

In order to allow VS2005 through an authenticating proxy, you have to edit the Visual Studio configuration file located at C:\Program Files\Common Files\Microsoft Shared\Help 8\dexplore.exe.config. To add support for the proxy, make sure the proxy element is present:

<configuration>
    ...
    <system.net>
        ...
        <defaultProxy enabled="true" useDefaultCredentials="true">
            <proxy bypassonlocal="True"
                   proxyaddress="http://yourproxy:port"/>

        </defaultProxy>
    </system.net>
</configuration>

where the correct proxy server is configured in the proxyaddress element.

If you use the integrated help viewer, you must also add this xml to the configuration file located at C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe.config.

Add comment Permalink June 20th, 2006 Adrian Banks
Subscribe to this feed Bookmark this post on del.icio.us Digg this post on digg.com Share this post


Calendar

February 2017
M T W T F S S
« Oct    
 12345
6789101112
13141516171819
20212223242526
2728  

Posts by Month

Posts by Category

RSS Feeds Feeds

Visitors

Visitor Map