Data Sync with TFS still does not work

Wednesday, March 26, 2014
I copied MsTfsDataSync.dll to SpiraTeam's bin folder and I got error message

[BadImageFormatException: Could not load file or assembly 'MsTfsDataSync' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +567
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +192
   System.Reflection.Assembly.Load(String assemblyString) +35
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +147

I followed the instruction of KB 14 and I still have the same error message. Any idea why? Do I need to install TFS on the server that runs SpiraTeam? Currently TFS is installed in a different server. 

2 Replies
Wednesday, March 26, 2014
re: gaogang Wednesday, March 26, 2014

Hi Gang

It means that you run SpiraTeam in 32-bit mode.

Go to IIS and in the SpiraTeam Application Pool, switch it to "Enable 32-bit Applications" = True.



Wednesday, May 24, 2017
re: inflectra.david Wednesday, March 26, 2014

I have tried both DataSync.exe - Did not work. I've got the same errors.

Are there more Tipps?

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885


  • Started: Wednesday, March 26, 2014
  • Last Reply: Wednesday, May 24, 2017
  • Replies: 2
  • Views: 2653