Export (0) Print
Expand All
Expand Minimize

How to: Change the BypassProxyOnLocal Configuration

Visual Studio 2008

If Visual Studio stops responding when a user runs a query in Team Explorer, you might need to reconfigure Internet Explorer so that it does not send requests for local network resources through a proxy server. If your organization uses a script to configure Internet Explorer, some of the settings that it contains might cause this problem.

  • If your organization does not require the script, you should configure Internet Explorer to ignore the script and detect network settings automatically.

  • If your organization requires the script, you might be able to update it to avoid this problem.

  • If you cannot ignore or update the script, you should set the optional registry key, BypassProxyOnLocal, for HKEY_CURRENT_USER (per user) and HKEY_LOCAL_MACHINE (global) to true. This configuration causes the computer to request local resources without going through the LAN proxy server.

    NoteNote:

    If you set BypassProxyOnLocal to true, you might also improve performance when you run the tf.exe command-line tool.

By default, BypassProxyOnLocal is not configured, and all URL requests are routed through a proxy server when Internet Explorer is set to use an automatic configuration script or to detect settings automatically. If you configure this key and set it to true, a URL request is routed through the proxy server only if the requested resource is outside the organization's intranet. If the resource is inside the organization's intranet, the request is not routed through the proxy server. In these local requests, the URI does not contain a period (.). For example, a browser entry of http://webserver/ would not be routed through the proxy server. However, a browser entry of http://www.microsoft.com would.

Important noteImportant Note:

Incorrectly editing the registry might severely damage your system. Before you change the registry, you should back up any valued data on the computer.

Required Permissions

To perform these procedures, you must be a member of the Administrators security group on the local computer.

To disable the use of an automatic configuration script

  1. Open Internet Explorer.

  2. Click Tools, and then click Internet Options.

  3. On the Connections tab, click LAN settings.

  4. In the Local Area Network (LAN) Settings dialog box, clear the Use automatic configuration script check box, and then click OK.

  5. Click OK to close the dialog box.

To configure the BypassProxyOnLocal registry key

  1. Click Start, click Run, type Regedit, and then click OK.

  2. To set the key for the current user:

    1. Locate and then click the following folder under HKEY_CURRENT_USER: Software\Microsoft\VisualStudio\9.0\TeamFoundation\.

    2. Click Edit, click New, and then click Key.

    3. Type RequestSettings for the name of the key.

    4. Right-click RequestSettings, click New, and then click String value.

    5. Type BypassProxyOnLocal for the name of the string.

    6. Right-click BypassProxyOnLocal, and click Modify. In Value data, type True, and then click OK.

  3. To set the key globally (for all users):

    1. Locate and then click the following folder under HKEY_LOCAL_MACHINE: Software\Microsoft\VisualStudio\9.0\TeamFoundation\.

    2. Perform steps 2b through 2d.

  4. On the File menu, click Exit.

Community Additions

ADD
Show:
© 2014 Microsoft