Monday, July 03, 2006

Error connecting to TFS,

If you have any of the following:
"The Local Security Authority cannot be contacted"
TFS AT IIS logs: 2148074244 2148074254
TFS AT Event Log: NtLmSsp 537
You tried connecting to the tfs using the url http://server:8080/services/v1.0/serverstatus.asmx and it still didn't work, but could connect when you telnet servername 8080...

Then try this:
on the client, run the following from the command prompt: control keymgr.dll
This will open "Stored User Names and Passwords" Dialog.
You should see an entry with the name of the tfs server, change the password to what ever it should be, or other settings as required, or just delete it completely and start over.
Click OK as many times as required to accept the changes.
Try to connect again... MAGIC!

Scenario that caused my problem: changed domain password today, i use a laptop that is not part of the domain. could no longer connect. was about to blow up at sys admins for changing "something??" on TFS AT when i tested from other machines that are on the domain, connected ok, no probs. had to be something on the client. i have changed my domain password several times with no probs, but could have been some strange combo like having vsts open on laptop, already connected, then change domain password while connect to domain server using mstsc... not sure, but this fix definitely works.

So glad I didn't have to rebuild as some others have.