Unable to connect to Team Foudation Server - NullReferenceException
This morning I'm unable to connect to TFS - starting up Visual Studio I end up with an empty Team Explorer. Clicking the Connect to Team Server button, brings up the usual dialog, and when I try to connect I get a message box:
Microsoft Visual Studio
Team Foundation Error
Object reference not set to an instance of an object.
Any ideas? I'm able to connect to the server from other workstations without issue - and this workstation has done nothing but sit here overnight.
Any idea if your TFS server rebooted itself overnight to install a critical patch or anything like that (the event logs should tell you)?
You could also try poking around in the client application event log to see if anything was put there.
Don't you hate these sort of ones? I take it this was with the RTM bits?
The server doesn't auto-instsall patches and was mostly recently rebooted 3 days before this incident.
RTM bits all around, yes. I hadn't thought to look in the client's event log - I suppose it's unlikely there's anything there, but it's worth a look.
Yep - I hate when this sort of thing happens! No doubt it's some corner case bug - but I'd rather figure it out so I can avoid it than stumble into it again.
Hi
Has this actually been sorted or reason found out yet.
I am getting this on a workstation at present and have even done a complete remove and re install of ALL visual studio including latest SP. But still get the error
Thanks
Scott
To be honest, I don't know. We've fixed a ton of bugs in the last year and it's hard to tell if this was one of them. I'd recommend you file a bug on http://connect.microsoft.com and/or call support. But before that, I'd make sure I had SP1 installed and that it repros.
Brian
Hi
Not sure of the reason, but i found what i think was the area that may have helped cause
After doing a complete uninstall and removal of all visual studio stuff we use and then a complete reinstall including all service packs, etc. the issue i had was still there.
During my hunt for trying to find information, I make use of the Find in IE7 to (ctrl+f) to find words etc. But every time it tried i would get an error when i clicked on Next or previous. So i decided to revert to IE6. Once i had done this i ran VS attempted to go to Source Control and it worked, no issue wot so ever.
Subsequently updated IE6 to IE7 and still works.
Thanks for your help anyway :-)
Scott