Export (0) Print
Expand All

How to: Disconnect Team Foundation Server Proxy from Team Foundation Server

You can disconnect Team Foundation Server Proxy from Visual Studio Team Foundation Server if you no longer want to cache version control files at a remote location. To complete this procedure, you must edit a configuration file (Proxy.config) on the server that is running Team Foundation Server Proxy. This file is located in the proxy installation directory.

TipTip

You can use the Team Foundation Administration Console on the server that is running Team Foundation Server Proxy to locate Proxy.config in the file system of that server.

Required Permissions

To perform this procedure, you must be a member of the Administrators security group on the server that is running Team Foundation Server Proxy.

To disconnect Team Foundation Server Proxy from Team Foundation Server

  1. Click Start, point to All Programs, point to Microsoft Team Foundation Server 2010, and then click Team Foundation Administration Console.

    Team Foundation Administration Console appears.

  2. Click Proxy Server, and then click the path in Configuration File.

    Proxy.config opens in the associated text or XML editor.

    NoteNote

    To edit Proxy.config on a server that is running Windows Server 2008, you must open Proxy.config as an administrator, even if you are logged on with administrative credentials. For more information, see the following page on the Microsoft Web site: User Account Control.

    To open Notepad as an administrator, click Start, right-click Command Prompt, click Run as administrator and then type notepad. In Notepad, navigate to the Proxy.config file by using the path in Configuration File.

  3. In the Proxy.config file, locate the <Servers> node, the <Server> element, and then the <Uri> element for the instance of Team Foundation Server from which you want to disconnect Team Foundation Server Proxy.

  4. Delete the <Server> and <Uri> elements for the instance, and then save and close the Proxy.config file.

  5. Restart Internet Information Services (IIS) by opening a Command Prompt window, typing iisreset, and pressing ENTER.

    The most recent Proxy.config file is retrieved.

    NoteNote

    Even if you are logged on with administrative credentials, you must open an elevated Command Prompt to perform this function on a server that is running Windows Server 2008. To open an elevated Command Prompt, click Start, right-click Command Prompt, and then click Run as administrator. For more information, see the following page on the Microsoft Web site User Access Control.

    Cached files from Team Foundation Server are deleted the next time that Team Foundation Server Proxy runs the cache cleanup routine.

Tasks

How to: Examine Cache Performance By Using Performance Monitor

Concepts

Managing Team Foundation Server Proxy

Community Additions

ADD
Show:
© 2014 Microsoft