简体   繁体   English

在Server Explorer中连接到Azure,我的值不能为null,参数名称:accountKey

[英]Connecting to Azure in Server Explorer gives me value cannot be null, Parameter name: accountKey

Hoping someone can help me out here. 希望有人可以帮助我。 I'm trying to connect to my notification hubs within Azure. 我正在尝试连接Azure中的通知中心。 I've always been able to do it fine, until today. 直到今天,我一直都能做得很好。 Now every time I try to connect it tells me that I have no subscription. 现在每次我尝试连接时都会告诉我没有订阅。 (Which I do). (我这样做)。

When I try to refresh the Notification Hubs portion is when I get the "value cannot be null" Parameter name: accountKey error. 当我尝试刷新Notification Hubs部分时,我得到“value not not null”参数名称:accountKey错误。

I've tried two of my working Azure subscriptions with the same result. 我尝试了两个具有相同结果的Azure订阅。 I've tried restarting Visual Studio. 我试过重启Visual Studio。 I've tried restarting my machine. 我试过重启我的机器。

No luck. 没运气。

Please help! 请帮忙! I really need to connect to Azure from the IDE for Notification Hubs because its the only easy way I get a visual list of all my devices registered. 我真的需要从IDE for Notification Hubs连接到Azure,因为这是我获得所有已注册设备的可视列表的唯一简便方法。

I'm not sure it will fix it for you but it did for me: 我不确定它会为你解决它,但它确实对我有用:

I realized at some point that I wasn't logged in with an account to Visual Studio. 我在某个时候意识到我没有使用Visual Studio登录帐户。 (Visual Studio encourages a login, but I don't believe enforces it). (Visual Studio鼓励登录,但我不相信强制执行)。

Once I logged back in to Visual Studio with my MSN Id and removed the subscriptions and re-added them, it seemed to do the trick for me. 一旦我使用我的MSN Id重新登录到Visual Studio并删除了订阅并重新添加它们,它似乎对我有用。

我重新添加了我的订阅帐户,它修复了问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM