How to fix issue with opening Visual Studio solution from by moving it to

This problem arises if you were using Team Foundation Services (TFS) Online while it was still in preview. You will be accessing TFS on a URL such as: A recent change has been made to TFS Online that prevents you opening solutions using this URL. When you try to open an existing solution (that you have already synced down to your development machine ) you will see the following error message in Visual Studio:


Attempting to “Go Online” with the solution, or disconnect from TFS and reconnect using the same address will result in a security credentials prompt that accepts your credentials but just sits there blank. BTW trying to login to the URL in IE also results in this blank page behavior, in Chrome it gives a slightly better redirect error.


What Microsoft want you to use instead is the address instead:

This is simple if you just want to access TFS in a browser. Simply use the new address, but how do you get Visual Studio to start using the new URL to connect for a solution you already have on your dev machine?

Here’s the process that’s worked for me across Visual Studio 2012 and 2010.

Remove the existing TFS Connection from The Team Explorer



Now Add a TFS Connection using the URL



Open the TFS Source Control Explorer now you are connected using the new address



Select the solution folder for the solution you have synced to the local workspace on your development machine. Right click the solution folder and select the Get Specific Version… option from the context menu.



Ensure you check the option to “Overwrite all files even if the local version matches the specified version”. This will effectively pull all files for the solution from TFS again even if there has been no change made to the files. This has the side effect of fixing the binding of the files so that after the sync the files will now be bound to instead of



Once the sync has completed you should see the following message:



Click Yes, and you will get a dialog letting you know of any offline changes.



That should be job done. Your Solution Explorer should now show the TFS icons indicating the source control state of all the files and you’ve now left the URL behind.

Other links referencing this issue:


About Cameron Dwyer

Architect and developer at OnePlace Solutions. Passionate about delivering compelling solutions on the Office 365/SharePoint platform. Addicted to coffee.

Posted on June 18, 2014, in TFS and tagged , , , , , . Bookmark the permalink. 3 Comments.

  1. I tried this on VS 2012 didn;t work – still tries to connect to old url – do you have to unbind and rebind to new url?


  2. My situation was slightly different. The tfspreview url could no longer be hit at all even in browser. The solution was to do the above and then go into File\Source Control\Advanced\Workspaces and resave the workspace. This chnaged the bindings to the the url/


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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s


Get every new post delivered to your Inbox.

Join 148 other followers

%d bloggers like this: