云资源管理器值不能为空,参数名称:用户 ID [英] Cloud explorer value cannot be null, parameter name: user id

查看:25
本文介绍了云资源管理器值不能为空,参数名称:用户 ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图通过在 Visual Studio 2015 中将其从云资源管理器打开到 sql server 对象资源管理器来访问我的 sql 数据库.

I am trying to access my sql database by opening it from cloud explorer to sql server object explorer in visual studio 2015.

我收到以下错误:

 Cloud Explorer has encountered an unexpected error:

    The requested action could not be completed.
    Details: Value cannot be null.
    Parameter name: User ID

附言当我尝试从桌面访问它时,它工作正常.错误发生在我的笔记本电脑上.

P.S. When I try to access it from my desktop, it works fine. The error occurs on my laptop.

推荐答案

我遇到了同样的问题,当我尝试将一个 db 添加到之前创建的 Azure Sql Server 实例时,该实例已经与另一个 db 关联.

I came across the same issue, when I tried adding a db to previously created instance of Azure Sql Server, which was already associated with another db.

不知何故,VS SQLSOE 想要添加同一个 Sql Server 的第二个实例"以显示新添加的数据库.

Somehow VS SQLSOE wanted to have added a "second instance" of the same Sql Server in order to display the newly added db.

解决方案:

  • 断开 Azure SQL Server 实例与 SQL SOE 窗口的连接(右键单击此服务器,然后单击断开连接).如果出现多个,则将它们全部断开.
  • 如果数据库正确显示在云资源管理器中,请右键单击该数据库并单击打开 SQL Server 对象资源管理器"(如果它未在云资源管理器中显示,则可能是另一个问题)

这篇关于云资源管理器值不能为空,参数名称:用户 ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆