Microsoft KB Archive/937471

= FIX: You may receive a time-out error message when you try to add a domain group in Visual Studio 2005 Team Foundation Server =

Article ID: 937471

Article Last Modified on 7/1/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team Foundation Server

-



SYMPTOMS
In Microsoft Visual Studio 2005 Team Foundation Server, you may receive a time-out error message when you try to add a domain group. This problem may also occur when you open the Security dialog box from the Server node of Team Explorer or from Source Control.

This problem occurs if the Active Directory container that Team Foundation Server queries is very large.



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 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 Service Pack 1 installed to apply this hotfix.

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.



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



MORE INFORMATION
This hotfix changes the way that Team Foundation Server accesses Active Directory in some areas. To enable these changes after you install this hotfix, follow these steps:  Stop Internet Information Services (IIS). To do this, run the following command at the command prompt:

iisreset /stop

 Open the Web.config file in the following folder:

\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services

Note The placeholder  represents the installation folder for Team Foundation Server.  Add the following code to the appSettings section of the Web.config file.  For example, modify the appSettings section as follows:      <add key=&quot;smtpServer&quot; value=&quot;emailserver&quot; /> <add key=&quot;useADMemberQuery&quot; value=&quot;false&quot; /> </appSettings> </li> Start IIS. To do this, run the following command at the command prompt:

iisreset /start

</li></ol>

This hotfix fixes the problem that is described in the &quot;Symptoms&quot; section. However, this change forces Team Foundation Server to access Active Directory in a less efficient way. To restore the default behavior, change the value of the ADMemberQuery key to true by using the following code. <add key=&quot;useADMemberQuery&quot; value=&quot;true&quot; />

<div class="moreinformation_section">

For more information about software update terminology, 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: kbexpertiseadvanced kbfix kbpubtypekc kbqfe kbhotfixserver KB937471

-

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

© Microsoft Corporation. All rights reserved.