Share via


Can't switch user in Visual Studio 2013

Question

Tuesday, October 29, 2013 12:45 PM | 1 vote

Hello.

Our company recently got into the BizSpark program and as a result we got access to Visual Studio 2013.

However when I attempt to log into Visual Studio I get an error:

We were unable to establish the connection because it is configured for user [my Personal Account]@gmail.com but you attempted to connect using user [My Work Account]@a3ds.no. To connect as a different user perform a switch user operation. To connect with the configured identity just attempt the last operation again.

I'v attempted to reset the devenv (devenv /resetuserdata) using the developer console and removing my old credentials from the credential manager i Windows.

Anyone know how I can solve this?

All replies (9)

Wednesday, October 30, 2013 1:20 PM âś…Answered | 20 votes

Hi,

I resolved this problem by deleting the registry key under

hkey_current_user\software\Microsoft\VSCommon\12.0\clientservices\tokenstorge\visualstudio\ideuser

Mark


Wednesday, January 1, 2014 12:05 PM

See: http://stackoverflow.com/questions/19517673/how-can-i-switch-my-signed-in-user-in-visual-studio-2013/20868436#20868436


Sunday, May 4, 2014 11:35 AM

Thanks works fine!

In my case, after deletion of the key, just have to sign-in TWICE in VS2013 (the first time was not enough in my case).

I know we "could" reset the settings with the "DevenvLine activated on your computer... which was not the case on my Windows 8.1 update.

Vincent THAVONEKHAM www.thavo.com


Wednesday, September 10, 2014 6:28 PM | 5 votes

I ran into the same issue yesterday and did the following to resolve it. I think the only difference from what was already attempted is in step 2 running the Command Prompt as Administrator.

  1. Close Visual Studio
  2. Start the Developer Command Prompt from Visual Studio Tools installed with Visual Studio as an administrator.
  3. type 'devenv /resetuserdata'
  4. Start Visual Studio Normally.

Tuesday, February 10, 2015 6:02 PM

It is working. Thanks a lot. Only one error code left as described in 0x80070091.

Warning 1 Warning : DEP0810 : This app references Microsoft.WinJS.1.0, version 1.0.9200.20512, found in your SDK, but you have a higher version of Microsoft.WinJS.1.0 installed on the target machine, 1.0.9200.20789. If you continue to run this application, it will run against the currently installed version, Microsoft.WinJS.1.0, version 1.0.9200.20789. Consider updating your SDK to match the version of Microsoft.WinJS.1.0 that is installed.


Thursday, April 9, 2015 11:02 AM

Thank-you, this worked for me.


Sunday, October 11, 2015 5:02 AM

Thanks Samuel!


Wednesday, June 1, 2016 12:09 PM

This worked for me.Thanks


Thursday, December 28, 2017 12:06 PM

HKEY_CURRENT_USER\SOFTWARE\Microsoft\VSCommon\14.0\ClientServices\TokenStorage\VisualStudio\IdeUser

It was worked for VS2015(14.0).