Also, the SP1 installation guide ( 
http://www.microsoft.com/downloads/details.aspx?FamilyId=FF12844F-398C-4FE9-8B0D-9E84181D9923&displaylang=en
 ) states that the client (Visual Studio) needs to be updated to SP1 before any 
server components (build agent):

"In deployments where the application tier and a client tier component are 
installed on the same computer, you must install SP1 for Visual Studio 2008 
before you install SP1 for Team Foundation Server. Otherwise, you will not be 
able to install SP1 for Team Foundation Server."



Never tried this to see how it breaks though.

-Ross

 

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of Paul Glavich
Sent: Friday, March 27, 2009 5:20 AM
To: [email protected]
Subject: RE: New build agent fails on type load exception [SEC=UNCLASSIFIED]

 

The controller invokes the agent .. yes, but is not the TFS server (perhaps our 
terminology is different). At any rate, both controller and agents MUST have 
the same service pack installed. If one is a vanilla install and another has a 
service pack installed, you will see this error.

 

Remember, the controller packages the "test" assemblies and sends to the agents 
for execution. When packaging, I imagine some version information is included, 
and any SP affects this version number, hence a serialisation and 
deserialisation error occurs (although the error could be a lot more helpful).

 

 

Regards,
Paul Glavich

Readify | Senior Consultant

M: +61 413 0413 61 | E: [email protected] 
<mailto:[email protected]>  
P Please consider your environmental responsibility before printing this e-mail

 

From: [email protected] [mailto:[email protected]] On Behalf Of Wes MacDonald
Sent: Friday, 27 March 2009 8:34 PM
To: [email protected]
Subject: RE: New build agent fails on type load exception [SEC=UNCLASSIFIED]

 

Hi,

 

Team Build has to be at the same patch level as TFS so I can see why you did 
not apply SP1 to it.  I think VSTS 2008 SP1 is the cause of your problem.

 

Wes

 

From: [email protected] [mailto:[email protected]] On Behalf Of Primrose, Rory
Sent: March-26-09 10:10 PM
To: [email protected]
Subject: RE: New build agent fails on type load exception [SEC=UNCLASSIFIED]

 

Thanks for the response guys. I'm a little confused though. Isn't the 
controller the TFS server that invokes the agent (client build machine) to 
build something. We don't have TFS SP1 on the server, but I have installed VSTS 
SP1 on the agent.

 

The installation order was:

 

VSTS

Team Explorer

Team Build 2008

VSTS SP1

 

I tried reinstalling Team Build 2008 to fix up any version issues that SP1 have 
brought in but it still hasn't worked.

 

Should I have not installed VSTS SP1 in the first place?

 

 

RORY PRIMROSE
SOFTWARE DEVELOPER
INFORMATION SERVICES

Tel +61(0) 2 62036720  Ext 156720

www.afp.gov.au

 

From: [email protected] [mailto:[email protected]] On Behalf Of Paul Glavich
Sent: Friday, 27 March 2009 12:45 PM
To: [email protected]
Subject: RE: New build agent fails on type load exception [SEC=UNCLASSIFIED]

 

Yep, I have had this a lot and its just a version difference between the 
agent/controller. For me, it was mostly that one had a vanilla install of 2008 
and an agent had SP1 (or vice versa)

 

Regards,
Paul Glavich

Readify | Senior Consultant

M: +61 413 0413 61 | E: [email protected] 
<mailto:[email protected]>  
P Please consider your environmental responsibility before printing this e-mail

 

From: [email protected] [mailto:[email protected]] On Behalf Of Wes MacDonald
Sent: Friday, 27 March 2009 11:50 AM
To: [email protected]
Subject: RE: New build agent fails on type load exception [SEC=UNCLASSIFIED]

 

Hi,

 

Did you install TFS 2008 SP1 also to patch Team Build?

 

Wes

 

From: [email protected] [mailto:[email protected]] On Behalf Of Primrose, Rory
Sent: March-26-09 8:31 PM
To: [email protected]
Subject: New build agent fails on type load exception [SEC=UNCLASSIFIED]

 

Hi guys,

 

I have put together a new TFS build agent, but it is failing to start builds 
with a type load exception.

 

TF224003: An exception occurred on the build computer [MachineName]: Could not 
load type 'Microsoft.TeamFoundation.CommonSqlError' from assembly 
'Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a' due to value type mismatch..

 

The machine is XP Pro with all available updates. I have installed VSTS with 
SP1, the build agent setup and everything else I can think of that are 
requirements to get a build running.

 

The type requested exists in C:\Program Files\Microsoft Visual Studio 
9.0\Common7\IDE\PrivateAssemblies. The fusion log viewer doesn't log any errors 
for this binding and the event log doesn't indicate any issues. I have given 
the build account administrative rights on the build machine and added 
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies to 
the PATH environment variable and still no joy.

 

Any ideas?

 

Cheers

 



RORY PRIMROSE
SOFTWARE DEVELOPER
INFORMATION SERVICES

Tel +61(0) 2 62036720  Ext 156720

www.afp.gov.au

 

 


**********************************************************************
                                WARNING

This email message and any attached files may contain information
that is confidential and subject of legal privilege intended only for
use by the individual or entity to whom they are addressed.   If you
are not the intended recipient or the person responsible for
delivering the message to the intended recipient be advised that you
have received this message in error and that any use, copying,
circulation, forwarding, printing or publication of this message or
attached files is strictly forbidden, as is the disclosure of the
information contained therein. If you have received this message in
error, please notify the sender immediately and delete it from your
inbox.

AFP Web site: http://www.afp.gov.au
**********************************************************************

________________________________

Support procedure: https://www.codify.com/lists/support
List address: [email protected] <mailto:[email protected]> 
Subscribe: [email protected] <mailto:[email protected]> 
Unsubscribe: [email protected] <mailto:[email protected]> 
List FAQ: http://www.codify.com/lists/oztfs <http://www.codify.com/lists/oztfs> 
Other lists you might want to join: http://www.codify.com/lists 
<http://www.codify.com/lists> 

________________________________

Support procedure: https://www.codify.com/lists/support
List address: [email protected] <mailto:[email protected]> 
Subscribe: [email protected] <mailto:[email protected]> 
Unsubscribe: [email protected] <mailto:[email protected]> 
List FAQ: http://www.codify.com/lists/oztfs <http://www.codify.com/lists/oztfs> 
Other lists you might want to join: http://www.codify.com/lists 
<http://www.codify.com/lists> 

________________________________

Support procedure: https://www.codify.com/lists/support
List address: [email protected] <mailto:[email protected]> 
Subscribe: [email protected] <mailto:[email protected]> 
Unsubscribe: [email protected] <mailto:[email protected]> 
List FAQ: http://www.codify.com/lists/oztfs <http://www.codify.com/lists/oztfs> 
Other lists you might want to join: http://www.codify.com/lists 
<http://www.codify.com/lists> 

 


**********************************************************************
                                WARNING

This email message and any attached files may contain information
that is confidential and subject of legal privilege intended only for
use by the individual or entity to whom they are addressed.   If you
are not the intended recipient or the person responsible for
delivering the message to the intended recipient be advised that you
have received this message in error and that any use, copying,
circulation, forwarding, printing or publication of this message or
attached files is strictly forbidden, as is the disclosure of the
information contained therein. If you have received this message in
error, please notify the sender immediately and delete it from your
inbox.

AFP Web site: http://www.afp.gov.au
**********************************************************************

________________________________

Support procedure: https://www.codify.com/lists/support
List address: [email protected] <mailto:[email protected]> 
Subscribe: [email protected] <mailto:[email protected]> 
Unsubscribe: [email protected] <mailto:[email protected]> 
List FAQ: http://www.codify.com/lists/oztfs <http://www.codify.com/lists/oztfs> 
Other lists you might want to join: http://www.codify.com/lists 
<http://www.codify.com/lists> 

________________________________

Support procedure: https://www.codify.com/lists/support
List address: [email protected] <mailto:[email protected]> 
Subscribe: [email protected] <mailto:[email protected]> 
Unsubscribe: [email protected] <mailto:[email protected]> 
List FAQ: http://www.codify.com/lists/oztfs <http://www.codify.com/lists/oztfs> 
Other lists you might want to join: http://www.codify.com/lists 
<http://www.codify.com/lists> 

________________________________

Support procedure: https://www.codify.com/lists/support
List address: [email protected] <mailto:[email protected]> 
Subscribe: [email protected] <mailto:[email protected]> 
Unsubscribe: [email protected] <mailto:[email protected]> 
List FAQ: http://www.codify.com/lists/oztfs <http://www.codify.com/lists/oztfs> 
Other lists you might want to join: http://www.codify.com/lists 
<http://www.codify.com/lists> 

--------------------------------------------------------------------------------
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/oztfs
Other lists you might want to join: http://www.codify.com/lists

<<image001.jpg>>

Reply via email to