The Problem
- You are configuring SMTP Settings for TFS 2010 and want to specify a different port for your SMTP server than the default port (which would be port 25)
Figure: TFS 2010 does not allow to set a custom SMTP port.
Solution #1: Change config file
- As answered here and here, you could add the following XML to the TfsJobAgent.exe.config file (usually located in C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\TFSJobAgent):
<mailSettings>
<smtp deliveryMethod="Network">
<network port="2525"/>
</smtp>
</mailSettings>
- Keep in mind that this is only valid for TFS notifications itself and not for notifcations from SQL Server Reporting Services or the SharePoint-based Project Portal.
The Solution #2: Install a local SMTP server
- Install the SMTP Service on Windows Server and ask it to route all SMTP traffic to a different SMTP server.
- On the Delivery tab, click Advanced, an enter the SMTP server name as "smart host".
- On the Delivery tab, click Outbound Connections, and set the TCP port (= SMTP port).

Figure: Setting up a local SMTP server has the great benefit that you can use it SMTP for other applications, too (like notifications from SQL Server Reporting Services or SharePoint).
Cross-posted from my other blog:
![Microsoft_SQL_Server_Logo_thumb[1] Microsoft_SQL_Server_Logo_thumb[1]](http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/vstsblog.metablogapi/6013.Microsoft_5F00_SQL_5F00_Server_5F00_Logo_5F00_thumb1_5F00_thumb_5F00_260A3614.png)
The Problem
- You have a database (e.g. TFS collection database) in SQL Server Enterprise Edition.
- You want to backup and restore this database on a SQL Server Standard Edition.
- You get an error message on restore that some features are not supported.
The Solution
…
[Read the full post]
The Problem
- You are using DevExpress components.
- Compilation fails with the message:
'Cannot resolve dependency to assembly 'Microsoft.Windows.Design.Extensibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
The Solution
- Check your references and remove any reference to DevExpress.*.Design.dll's.
(Thanks to "Kookiz" who solved this.)