【问题标题】:Cannot authenticate in Visual Studio 2017无法在 Visual Studio 2017 中进行身份验证
【发布时间】:2017-06-08 11:11:24
【问题描述】:

我的 Visual Studio 2017 试用期已过,我无法登录以解锁该程序。每次认证都失败,报错:

An error has occurred and we can no longer retrieve information for your account. 
Please reenter your credentials.

我检查了servicehub 的日志,他们都说(为便于阅读添加了换行符):

Error : 
  Error starting hub controller: 
    System.InvalidOperationException:
      Controller terminated before accepting connections.
        Exit code: -1073741502.

Error : 
  Exception retrying connect to json rpc: 
    System.InvalidOperationException: 
      Controller terminated before accepting connections.
        Exit code: -1073741502.

我尝试过以管理员身份运行程序、删除会话令牌、使用不同的 Microsoft 帐户,甚至使用不同的 PC。不同的 PC 问题让我认为这可能是我的网络有问题,但我不确定那可能是什么。

【问题讨论】:

  • 您在网络中使用代理服务器吗?
  • @KenTucker 是的,我的工作场所是这样。我是一名实习生,也是现场唯一的开发人员,所以我不确定如何向公司技术支持部门提出这个问题来解决。

标签: visual-studio visual-studio-2017


【解决方案1】:

我不知道你是否在你的机器上使用了 nodejs,但我确实使用了 nodejs 配置,这完全是根本问题。我添加了一个“NODE_OPTIONS”环境变量,无论出于何种原因,它显然对 Visual Studio 和其他软件造成了严重破坏。

见这篇文章:https://developercommunity.visualstudio.com/content/problem/287499/systeminvalidoperationexception-controller-termina.html

【讨论】:

  • 太棒了!感谢分享。已经通过环境变量为 nodejs 配置了额外的内存,但是 apparantley VS 不喜欢这样
  • 谢谢。和@NicoTimmerman 一样发生在我身上
猜你喜欢
  • 2017-04-17
  • 2014-03-15
  • 2016-01-11
  • 2023-01-12
  • 1970-01-01
  • 2011-12-12
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多