If you are using the command line TFS tools, you may have come across this error:
TF30076: The server name tfs-server provided does not correspond to a server URI that can be found. Confirm that the server name is correct.
Usually you'll come across this after you've rebuilt your machine or you're working on a build box or something.
Try specifying the full server url address, instead of just the hostname. For example:
tf.exe get . /server:http://tfs-server:8080
When you don’t specify the full URL, the tf command line tools will try and resolve the address using the registry entries in HKCU\Software\Microsoft\VisualStudio\9.0\TeamFoundation\Servers.
If they don't find a matching key, they will throw this error.
You can also add this key by opening Visual Studio Team Explorer and going to Tools | Connect to TFS | Servers.. | Add.