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.

[515 byte] By [CarlDaniel] at [2008-2-20]
# 1
Rebooting the workstation in question seems to have resolved the problem. I hate when that happens! Any ideas what might have gone wrong?
CarlDaniel at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 2
No theories?
CarlDaniel at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 3
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?

MartinWoodward at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 4

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.

CarlDaniel at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 5

It sounds like a bug. We'll look into it. Thanks for reporting it.

Brian

BrianHarry at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 6

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

I-Scott at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 7

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

BrianHarry at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 8

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

I-Scott at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...
# 9
I'm getting this same error. I had the same error in IE7, so uninstalled IE7 but no change. Will check service packs etc.
Richard.Watson at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Administration...

Visual Studio Team System

Site Classified