We’ve discovered an issue in TFS Update 1 that may result in errors when you try to configure a build agent or controller. You will see an error in the Build Service Configuration Wizard (configuring a new agent/controller) or in the TFS Administration Console (viewing the properties of a build controller/agent).
In the event log on the server, you’d find an error about the database not being configured correctly.
TF53010: The following error has occurred in a Team Foundation component or extension:
<…>
Detailed Message: TF30065: An unhandled exception occurred.
<…>
Exception Message: TF30040: The database is not correctly configured. Contact your Team Foundation Server administrator. (type DatabaseConfigurationException)
Exception Stack Trace: at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(Int32 errorNumber, SqlException sqlException, SqlError sqlError)
<…>
Exception Message: Operand type clash: dbo.typ_BuildControllerTableV2 is incompatible with dbo.typ_BuildControllerTable (type SqlException)
The workaround is to run the following commands.
- iisreset
- net stop tfsjobagent
- net start tfsjobagent
Grant Holliday posted more details here.
Follow me at twitter.com/tfsbuck