service error start up with TFS plug-in

Topics: Developer Forum, User Forum
Mar 6, 2007 at 7:33 PM
Edited Mar 6, 2007 at 7:35 PM
Has anyone seen the following error when attempting to integrate TFS and 1.0? The instance is running under .net 2.0. The TFS client is installed on the server and all of the DLLs are in the GAC.

Here is the XML that I am using to get to TFS:
<sourcecontrol type="vsts" autoGetSource="false" applyLabel="false">

And here is the error that I am getting:
Service cannot be started. System.BadImageFormatException: The format of the file 'ccnet.vsts.plugin.dll' is invalid.
File name: "ccnet.vsts.plugin.dll"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
at Exortech.NetReflector.NetReflectorTypeTable.Add(String path, String searchPattern)
at ThoughtWorks.CruiseControl.Core.Config.NetReflectorConfigurationReader..ctor()
at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.NewConfigurationService(String configFile)
at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.Create(Boolean remote, String configFile)
at ThoughtWorks.CruiseControl.Service.CCService.CreateAndStartCruiseServer()
at ThoughtWorks.CruiseControl.Service.CCService.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

=== Pre-bind state information ===
LOG: Where-ref bind. Location = d:\appwin32\\bbm-server\ccnet.vsts.plugin.dll
LOG: Appbase = d:\appwin32\\bbm-server\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///d:/appwin32/

Thanks, Tom

Mar 7, 2007 at 7:37 AM
I've only ever seen this error when CCNET is running in .NET 1.1 - how did you confirm that it was running under 2.0?