Cannot update TFS workspace

Today i run into a TFS workspace issue. I was getting below error when i open TFS project in Visual Studio 2008:

“TF14091: you cannot perform this operation on workspace. domain/eid are not the owner of the workspace”

Issue cause: VS cache the login credentials for workspace. When we try login with current credentials still it take old credentials from cache.

Solution: Clear the cache and reload it. Follow below steps to do that:

Step 1: Open VS command prompt. (For VS 2008 workspace, open VS 2008 command prompt. If you try to use command prompt, command will not work.)

Step 2: Run below command to clear the local cache.

tf workspaces /remove:*

Step 3: Run below command to set the Owner for respective TFS server

tf workspaces /s:TFS_ServerName

Thats it!!! Now you can open VS and access TFS without any issues.


About Rajan
I am Rajan Garg working as a Senior Software Engineer in a company. I am working on the Microsoft technologies.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: