This is a migrated thread and some comments may be shown as answers.

TFS not working in stand alone client

4 Answers 121 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brian
Top achievements
Rank 1
Brian asked on 27 May 2014, 07:28 PM
I just tried to add a standalone client test project to Team Foundation Server and got an error back. The following is the log it generated. Anyone know what is going wrong? I see the obvious file not found, but why can't it find it? I am able to browse the TFS server and select a location, just once I click the ok button, that's when the error happens

​[05/27 15:25:13,Telerik.TestStudio.exe(844:12)] First trace message from pool unnamed thread (managed ID = 12, native ID = 5984).
[05/27 15:25:13,Telerik.TestStudio.exe(844:12),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[05/27 15:25:13,Telerik.TestStudio.exe(844:12),Error] <>c__DisplayClass4.<RegisterResolver>b__1() : EXCEPTION! (see below)
     Situation: Exception trying to resolve dependency: Microsoft.TeamFoundation.Client.XmlSerializers, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
     Outer Exception Type: System.IO.FileNotFoundException
     Message: Could not load file or assembly 'Microsoft.TeamFoundation.Client.XmlSerializers, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
     HRESULT: 0x80070002 (Official ID (if app.) = 2147942402, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_FILE_NOT_FOUND)
     Call Stack:
          at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
          at System.Reflection.Assembly.Load(String assemblyString)
          at ArtOfTest.Common.BaseDependencyLoader.<>c__DisplayClass4.<RegisterResolver>b__1(Object o, ResolveEventArgs e)[05/27 15:25:28,Telerik.TestStudio.exe(844:12),Error] <>c__DisplayClass4.<RegisterResolver>b__1() : EXCEPTION! (see below)
     Situation: Exception trying to resolve dependency: Microsoft.TeamFoundation.XmlSerializers, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
     Outer Exception Type: System.IO.FileNotFoundException
     Message: Could not load file or assembly 'Microsoft.TeamFoundation.XmlSerializers, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
     HRESULT: 0x80070002 (Official ID (if app.) = 2147942402, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_FILE_NOT_FOUND)
     Call Stack:
          at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
          at System.Reflection.Assembly.Load(String assemblyString)
          at ArtOfTest.Common.BaseDependencyLoader.<>c__DisplayClass4.<RegisterResolver>b__1(Object o, ResolveEventArgs e)[05/27 15:25:28,Telerik.TestStudio.exe(844:12),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[05/27 15:25:35,Telerik.TestStudio.exe(844:1),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function Start -------
[05/27 15:25:35,Telerik.TestStudio.exe(844:1),TeamFoundationServer] TFSServer.ConnectToServer() : ------- Function End -------
[05/27 15:25:35,Telerik.TestStudio.exe(844:1),TestStudio] TfsSourceControlProvider.PrepareRepository() : EXCEPTION! (see below)
     Outer Exception Type: System.MissingMethodException
     Message: Method not found: 'Microsoft.TeamFoundation.Client.TfsTeamProjectCollection Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.get_TeamProjectCollection()'.
     HRESULT: 0x80131513 (Official ID (if app.) = COR_E_MISSINGMETHOD, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5395)
     Call Stack:
          at ArtOfTest.Common.TFSClient.TFSServer.AttachToRepository(IRepositoryInfo repository)
          at ArtOfTest.WebAii.Design.ProjectModel.Providers.SourceControl.TfsSourceControlProvider.PrepareRepository()[05/27 15:25:43,Telerik.TestStudio.exe(844:24)] First trace message from foreground unnamed thread (managed ID = 24, native ID = 3356).
[05/27 15:25:43,Telerik.TestStudio.exe(844:24),TestStudio] StandaloneHost.LoadResults() : ------- Function Start -------
[05/27 15:25:43,Telerik.TestStudio.exe(844:24),Uncategorized] MainWindow.LogMessage() : Partially Loading '0' results..
[05/27 15:25:43,Telerik.TestStudio.exe(844:24),Uncategorized] MainWindow.LogMessage() : Results are loaded!
[05/27 15:25:43,Telerik.TestStudio.exe(844:24),TestStudio] StandaloneHost.LoadResults() : ------- Function End -------

4 Answers, 1 is accepted

Sort by
0
Brian
Top achievements
Rank 1
answered on 27 May 2014, 07:33 PM
I'll add that this is a system with Visual Studio 2013 Premium with Update 2 along with Team Foundation Server 2013 with Update 2... it almost looks like it's looking for TFS 2012?!
0
Boyan Boev
Telerik team
answered on 30 May 2014, 12:20 PM
Hello Brian,

It seems that Test Studio cannot load one of TFS assemblies (Microsoft.TeamFoundation.Client.XmlSerializers).

Please try to reinstall TFS server.

If the issue persists please try installing Microsoft Visual Studio Team Explorer 2010 or Microsoft Visual Studio Team Explorer 2012

Let me know if this helps.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Brian
Top achievements
Rank 1
answered on 30 May 2014, 11:56 PM
Reinstalling TFS 2013 does not help, I installed TFS 2010 and same issue, however, after installing TFS 2012 it works fine.. this seems like the long road to get this to work
0
Boyan Boev
Telerik team
answered on 02 Jun 2014, 12:17 PM
Hello Brian,

I am glad to hear you have resolved the issue.

If you need further help, please let us know.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Brian
Top achievements
Rank 1
Answers by
Brian
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or