How to change the SMTP server name and the email address after an installation of Team Foundation Server?

One of our customers asked me whether we can change the SMTP server name and the email address after an installation of Team Foundation Server. I started to investigate around the folders that are created as part of an installation of Team Foundation Server. I discovered the details are actually stored in a Web.config file. The following are the steps to change the SMTP server name and the email address after an installation of Team Foundation Server:
 
1. Navigate to:
 
Note:
*  For Team Foundation Server 2005 : C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services
*  For Team Foundation Server 2008 : C:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\Services
 
2. Open the web.config file
 
3. Modify the following keys "emailNotificationFromAddress" and "smtpServer" (refer to the texts in bold and italic). For example,
 
<appSettings>
<add key="ConnectionString" value="Application Name=TeamFoundation;Persist Security Info=False;Initial Catalog=TfsIntegration;Data Source=TFSServerName;Integrated Security=SSPI"/>
    <add key="eventingEnabled" value="true" />
    <add key="DetailedExceptions" value="true" />
    <add key="emailNotificationFromAddress" value="Sender Email Address" />
    <add key="smtpServer" value="SMTP Server Name" />
</appSettings>
 
Good luck!

Adding Users for Team Foundation Server Workgroup Edition

Special Group Membership for Workgroup Edition

After you install Team Foundation Server Workgroup Edition, you must add
users to Team Foundation Licensed Users security group in order for them to
connect to the server.

This security group is a server-level group specific to the Workgroup
Edition. This group is created during installation of the Workgroup Edition, but
not the Trial Edition or the Standard Edition. The user account used during
installation is added to the group by default. You can add up to four additional
users to this group manually.

This group controls connection to the server only. It does not control access
to creating projects or working within projects. Additional security groups
control access to the server’s functionality.

To add users to the Team Foundation Licensed Users group

  1. Log on as a Team Foundation Administrator, open Team Explorer, and connect
    to the Team Foundation Serverfor which you are adding a user.
  2. From the Team menu, click Team Foundation Server Settings, and
    then click Group Membership.
  3. In the Global Groups dialog box, click Team Foundation Licensed
    Users
    and then click Properties.
  4. In the Team Foundation Server Group properties dialog box, click
    Windows User or Group, and then click Add.
  5. In the Select Users or Groups dialog box, type the user accounts you
    want to add, and then click Add. Note: You can add individual
    user accounts but not a group account.
  6. Click Close.

Cheers!!

Team System Web Access- Unfriendly Error Message

Today, I discovered a very unfriendly error message on Team System Web
Access. The following are the steps to simulate the error message (assuming the
url of your Team System Web Access is http://<computer_name>:8090):
 
1. Open up a Web browser and login to Team System Web Access. Let’s call
this user, "User1".
2. Checkout a document (let’s call this document, "Document1.doc") from the
Documents tab.
3. Now open up another Web browser and login to Team System Web Access.
Let’s call this user, "User2".
4. Checkin a document with the same name as the checkout document (i.e.
"Document1.doc"). Team System Web Access prompts an error message. Ok. This
error message is meaningful enough.
5. Now try to upload a document with the same name as the checkout document
(i.e. "Document1.doc"). Team System Web Access shows the following
screen: