登录Visual Studio 2017版本15.9.4时出错 [英] Error Signing in to Visual Studio 2017 version 15.9.4
本文介绍了登录Visual Studio 2017版本15.9.4时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
登录Visual Studio 2017时出现以下错误。
I get the following error while signing in to Visual Studio 2017.
"我们可以不刷新帐户的凭据。反序列化Microsoft.IdentityService.Clients.ActiveDirectory.TokenResponse类型的对象时出错。遇到未被发现的字符'<'
"We could not refresh the credentials for the account. There was an error deserializing the object of type Microsoft.IdentityService.Clients.ActiveDirectory.TokenResponse. Encountered unexpceted character '<'
推荐答案
Vlad Goldenberg,
欢迎来到MSDN论坛。
我需要你在给你之后检查一些提示一些解决方法:
- 试图登录您的帐户在
Microsoft帐户页 以确认您的帐号是正确的。 - 重置IE设置,将其设置为默认浏览器然后重新尝试登录关于如何更改或重置Internet Explorer设置,请检查以下链接:
https://support.microsoft.com/en-us/help/17441/windows-internet-explorer-change -reset-settings#ie = ie-11
- 单击"开始"并向下滚动到Visual Studio文件夹,展开它,以管理员身份运行"VS 2017开发人员命令提示符"并运行命令:
devenv.exe / ResetSettins 和 devenv / resetuserdata 命令,用于恢复Visual Studio默认设置。 - 添加这些链接:
https://login.microsoftonline.com/ 和
https ://login.live.com/ 和
https://www.visualstudio.com/ 到您信任的区域:
启动IE - >点击右上角的齿轮图标 - >互联网选项 - >安全选项卡,单击"站点" - > 添加这些网站。 - 以管理员身份运行VS.
- Trying to sign in your account in Microsoft account page to confirm if your account is correct.
- Reset IE settings, setting it as a default browser then re-try sign in. About how to change or reset internet explorer settings, please check this link: https://support.microsoft.com/en-us/help/17441/windows-internet-explorer-change-reset-settings#ie=ie-11
- Click Start and scroll down to the Visual Studio folder, expand it, run the ‘Developer Command Prompt for VS 2017 as administrator and run the command: devenv.exe /ResetSettins and devenv /resetuserdata commands to restore Visual Studio default settings.
- Add these link: https://login.microsoftonline.com/ and https://login.live.com/ and https://www.visualstudio.com/ to your trusted zone: Start the IE -> Click on the gear icon in the upper right corner -> Internet Options -> Security Tab, click the "Sites" -> adds these sites.
- Run VS as admin.
最重要的是仍然没有解决它,请按照以下步骤解决您的问题:
- 关闭所有实例和VS - 删除
%LOCALAPPDATA%.IdentityService 文件夹 - 打开Visual Studio - (在登录弹出窗口出现之前) - 单击"帮助","发送反馈","报告问题"。这会将您带到登录屏幕。如果您从那里登录,它将登录到Visual Studio。
- 修复VS:
https://docs.microsoft.com/en-us/visualstudio/install/repair-visual-studio?view=vs-2017v
- Close all instances and VS – delete %LOCALAPPDATA%.IdentityService folder
- Open Visual Studio – (Before the login popup appears) - Click Help, Send Feedback, Report a Problem.This brings you to a login screen. If you log in from there, it will log you into Visual Studio.
- Repair VS : https://docs.microsoft.com/en-us/visualstudio/install/repair-visual-studio?view=vs-2017v
如果仍有异常发生时,请在此处分享屏幕截图和错误消息。
Br
可能
这篇关于登录Visual Studio 2017版本15.9.4时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文