1

Closed

Application Error on Build Server

description

We are trying to use the Community TFS Build Extensions. The build controller and agent is showing these two errors in the event log, when the build service starts or when we open the parameters tab on the queue dialog of the build definition. Does anyone know what might be causing this. The build server is a Windows 2003 R2 machine.
 
Event Type: Error
Event Source: TFSBuildServiceHost
Event Category: None
Event ID: 0
Date: 1/25/2012
Time: 8:37:20 AM
User: N/A
Computer: ComputerName
Description:
Service 'Controller' had an exception:
Exception Message: Problem with loading custom assemblies: Could not load file or assembly 'Microsoft.Web.Administration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (type Exception)
 
 
Event Type: Error
Event Source: TFSBuildServiceHost
Event Category: None
Event ID: 0
Date: 1/25/2012
Time: 8:37:19 AM
User: N/A
Computer: ComputerName
Description:
Service 'Agent1' had an exception:
Exception Message: Problem with loading custom assemblies: Could not load file or assembly 'Microsoft.Web.Administration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (type Exception)
Closed Feb 23, 2012 at 5:02 PM by mikeFourie

comments

OsirisJakob wrote Jan 28, 2012 at 9:35 AM

Hi, the TfsBuildExtensions.Activities.IIS7 assembly is dependent on the Microsoft.Web.Administration assembly. This assembly is not (as of now) included in the download, it comes with IIS7. You can find it at (%WinDir%\System32\InetSrv.

If you plan to use these activites you need to add the assembly to TFS source control in the same location as the rest of the activities. If you aren't using these activities, you can remove TfsBuildExtensions.Activities.IIS7 from source control,