Microsoft KB Archive/937551

= FIX: Visual Studio 2005 Team Explorer exhausts allowed connections through a firewall when you try to access the version control database for Visual Studio 2005 Team Foundation Server 2005 =

Article ID: 937551

Article Last Modified on 9/25/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team Foundation Server

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows XP and Windows Vista



SYMPTOMS
Consider the following scenario:
 * Users try to perform source code tasks or version control tasks in the version control database for Microsoft Visual Studio 2005 Team Foundation Server 2005.
 * Users use Microsoft Visual Studio 2005 Team Explorer to access the database.

In this scenario, users are disconnected when they try to access the database.



CAUSE
This problem occurs because the requests to perform tasks in the version control database pass through a firewall that limits the number of available connections. Therefore, the available firewall connections may be exhausted.



RESOLUTION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Hotfix Information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio 2005 Team Foundation Server service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
You must have Visual Studio 2005 Team Explorer with Service Pack 1 (SP1) installed on the client computer.

Restart Requirement
You do not have to restart the computer after you apply this hotfix.

Hotfix Replacement Information
This hotfix does not replace any other hotfixes.

File Information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

This hotfix lets you limit the number of outgoing connections on the Version Control operation. After you install this hotfix, the limitation is configurable.

To limit the number of outgoing connections, you must add a DWORD entry to either of the following registry subkeys that contain a MaxBackgroundThreads entry and the desired number of background threads:

Note Each thread uses one connection. The first thread is the one that will be used. The second thread will be used for all users on that computer.

You must also edit the following two files:
 * C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\TF.exe.config
 * C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe.config

Add the following lines in the  section of each file.    Note If either file does not contain an  section, you must manually add the section. The  section must be located underneath the section.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article.



MORE INFORMATION
For more information about how to describe Microsoft software updates, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbbug kbfix kbhotfixserver kbqfe kbpubtypekc KB937551

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.