Skip Navigation Links / Posts / Post

VSTS + TFC Bug - Cannot bind to source control

Categories

I seem to have inherited a nasty little bug in the last day or so with Visual Studio 2008 (VS2008) and Team Explorer.  Up until yesterday morning I had been working away quite happily connecting to either our internal TFS server or to our TFSNow TFS server and using VS 2008 to work on projects in them.  But yesterday morning when I loaded up VS2008 I noticed that my working TFS server wasn't already connected up... hrmm.  Oh well, I imagine that these things happen from time to time, so I manually connected to our TFS Now instance again and voila, I was connected as usual.  However when I attempted to load up a solution from Source Control Explorer I was informed that it was not currently configured for integrated source control:

 

I checked my Source Control settings in Tools | Options and sure enough I had TFS selected as the default source control provider.

Attempting to manually bind the projects didn't work either because there was no recognized server to bind to:

I thought that maybe restarting VS2008 might make the magical difference... but it didn't.  In fact, when I restarted VS, it seemed to have forgotten all about my saved server settings again and so I had to repeat the process of re-connecting to the TFS Server.

I tried lots of things after that, I tried:

  1. Blowing away my workspace and creating a new one - nope!
  2. Deleting my local TFS cache - nope!
  3. Reinstalling TFC - nope!
  4. Reinstalling VS2008 and TFS - nope!

Finally, as a sanity check, I called Mitch to see whether he could connect to the TFS instance and open these projects and he could.

So I'm not really sure.  I think that I'll go down the rebuild path.  Darn!

posted 10/11/2007 5:02:25 AM

 

Comments:

# VSTS + TFC Bug - Cannot bind to source control
posted by night_dog on 10/15/2007 10:31:06 PM :

Hi,
I just had the same problem. Try to delete the existing tfs server from "Connect to team foundation server dialog box", and add it again. It worked for me.
Best regards, Night_dog.

# Thanks for the tip
posted by Darren Neimke on 10/15/2007 10:53:06 PM :

I've actually rebuilt my machine... but thanks anyways!

# Frighteningly similar to VSS binding bug in VS 2003
posted by happycamper on 10/16/2007 1:44:10 PM :

If I am remembering the VS 2003 bug with VSS correctly, then you could correct this problem by manually editing your project and/or solution files ... It has been awhile though.

# Removing and readd the TFS Server from Team Explorer
posted by Shane on 12/8/2007 5:27:10 AM :

This worked for me.

# Go online
posted by Bronwen Zande on 4/3/2008 10:37:24 AM :

Apparantly something to do with setting server offline. Need to set back to online see: http://www.soulsolutions.com.au/Blog/tabid/73/EntryID/423/Default.aspx

# Night dog is a life saver
posted by Michiel van Otegem on 5/19/2008 5:29:43 PM :

Night_dogs suggestion works great. Thanks.

# First suggestion work
posted by Suky on 11/5/2008 5:23:19 AM :

Night_dogs suggestion worked for me too...

# Great
posted by Buy Propecia on 6/4/2009 6:09:02 AM :

i really like the info at this post thanks!!!

# mm...
posted by Creative Services on 6/5/2009 5:33:36 PM :

very nice ;)

# دليل المواقع
posted by دليل المواقع on 8/17/2009 5:09:16 PM :

Night_dogs suggestion works great. Thanks.

# It works
posted by Buy Sildenafil Citrate on 8/27/2009 8:57:35 AM :

It works just fine for me...

 

Comments are currently disabled for this post.