I want to switch the Visual Studio user but I got the following error.
We were unable to establish the connection because it is configured for user [email protected] but you attempted to connect using user [email protected]. To connect as a different user perform a switch user operation. To connect with the configured identity just attempt the last operation again.
I also tried to reset the user data like described here in this post but nothing changed. I also reinstalled Visual Studio and that didn't help.
Any hint?
There are two workable options I now use (in order):
Account Settings
option on the account drop-down menu (top right, usually showing your name)It appears VS simply does not like to login to a different account while you are already logged in. Just make it happy first :)
devenv /resetuserdata
at the command prompt.To run the “switch user operation”:
devenv /resetuserdata
and wait for it to complete,.This process clears the same registry keys (and a few more) suggested by other solutions.
Meanwhile I found it. In addition I had to delete a registry key
hkey_current_user\software\Microsoft\VSCommon\12.0\clientservices\tokenstorge\visualstudio\ideuser
It seems like this key is neither affected by resetting the environment nor uninstalling VS 2013.
From this MSDN Forum post:http://social.msdn.microsoft.com/Forums/en-US/d2ef5828-ce0b-405a-b0b8-9809fc8ac0f7/cant-switch-user-in-visual-studio-2013?forum=visualstudiogeneral
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With