martes, 16 de septiembre de 2008 13:20
elbruno
[TFS2008] Error TF215085 y TF42053 … cosas de los Build Agents
Buenas,
todos los días se encuentra un error nuevo y por suerte una o más soluciones al mismo. En el día de hoy toca el siguiente error relacionado con la configuración del servidor de compilación:
TF215085: An error occurred while connecting to agent \Valentino\BuildServer: TF42053: The build machine is not configured to build for server http://NewServer:8080/. The build machine is configured for one Team Foundation Server only. To change the Team Foundation Server for the build machine, update the AllowedTeamServer key in the file TFSBuildService.exe.config and restart the service.
La solución, como se indica en la propia descripción del error, es modificar el archivo de configuración asociado al servicio de Build, usualmente ubicado en:
"..\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\TFSBuildService.exe"
y dentro de las settings del mismo, modificar la clave @AllowedTeamServer como muestro en el siguiente ejemplo:
<appSettings>
...
<!-- AllowedTeamServer
This is the Team Foundation Server Application Tier that can connect
to this build machine. This value should be the URL for the AT,
such as http://myserver:8080.
This value overrides the setting in HKCU.
-->
<add key="AllowedTeamServer" value="http://ValentinoBuildServer:8080" />
...
</appSettings>
Una vez modificado, simplemente hay que reiniciar el servicio y listo … a seguir con las compilaciones automáticas.
Saludos @ Here
El Bruno
Crossposting from
El Bruno