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.

6 comments:

Anonymous said...

My goodness man YOU HAVE SAVED ME!

I have not been able to connect to my new TFS Server from home, but no problems from work. Other could connect using my account from home.

All I got was the dreaded TF31004 error. After weeks of google'ing, uninstalling, reinstalling, deleting caches, etc., I FOUND YOU!

Bless you!

If you ever need a place to stay in the States, just give me a buzz

Anonymous said...

We are having problems connecting to TFS inside the corporate network. We have rebooted the server but are still getting the TFS31004 error. Please note this is a new install of TFS 2008 and none of the admins have been able to log on.

Anonymous said...

Thanks for the post. It saved lot of my time

sjblog said...

Many thanks Scotty. Solved my
TF31004 problem as well. Gold star for that!

Steve said...

Thanks very much. You saved my day.

Steve said...

It works. Thanks very much.