TFS 2010 GET runs into failed

Hi Guys,

I'm not sure if i did something wrong, all works well with tfs 2008 before, but last weekend, we created a new server using TFS 2010, it works very well with Visual Studio, but my old FinalBuilder which works well with tfs2008 doesn' work any more, i struggled with it for a long time, and here is the error message when doing a simple "Team Foundation Get" operation.

Path to Executable: c:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe
Workspace Directory: C:\ThinkGeo\MapSuite3.0\Development\Core
Command line: get /login:"Acount",*PASSWORD* . /all /overwrite /recursive /noprompt

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.TeamFoundation.VersionControl.CommandLine.CommandGet.Run()
   at Microsoft.TeamFoundation.VersionControl.CommandLine.VersionControlCommandLine.RunCommand(String commandName, String[] args, Boolean& showExitCode)
   at Microsoft.TeamFoundation.Client.CommandLine.RunCommand(String[] args)
   at Microsoft.TeamFoundation.Client.CommandLine.Run(String[]& args)
   at Microsoft.TeamFoundation.VersionControl.CommandLine.VersionControlCommandLine.Main(String[] args)
Failed!

We are using FinalBuild 7.0.0.515. It's critical for us now, can you focus on it with a high priority?

 

Looking forward to your response.

Thanks,

Johnny

Hi Johnny,
This appears to be an exception that tf.exe is generating (tf is Microsoft’s command line tool for TFS). To confirm this, can you please run the following from the command prompt;

[code]c:cd C:\ThinkGeo\MapSuite3.0\Development\Core"c:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" get /login:“Acount”,[your password here] . /all /overwrite /recursive /noprompt[/code]
Cheers,

Ben

Ben,

Thank you very much for the reply. I runs the script you gave, but seems that it runs into error and gives the same exception. How should we do now?

Please help.

Thanks,
Jaohnny

Ben,

Thank you very much for the reply. I runs the script you gave, but seems that it runs into error and gives the same exception. How should we do now?

Please help.

Thanks,
Jaohnny

Hi Ben,

Thank you very much, it’s caused by the Tfs client cache, if we change to a new Tfs server, we should clear the client cache at first and then everything goes well, i think you guys can these enhancements to you product, because if we use the Visual Studio tfs client, it works fine, as far as i guess, they should a check before connecting to tfs, if it’s same to the before, it will generate a complete new cache, otherwise use the old one.

Thanks and Best Regards!
Johnny