微软SQL Server Management Studio 2012中的白色圆圈

36
我是 SQL Server Management Studio 2012 的新手,现在我正在使用服务器上的数据,我的数据库上有一个白色圆圈。我们团队中的四个人都使用这个服务器,并且每个人都看到了这个问题。我们使用相同的身份验证登录到该服务器。请问这是什么意思?请帮帮我。
8个回答

44

白色圆圈通常包含绿色箭头、蓝色暂停符号或红色正方形,分别表示SQL Server服务正在运行、已暂停或已停止。

通常安全设置会只允许管理员查看服务状态,所以普通用户无法访问该信息。因此SSMS显示一个空白的白色圆圈,意味着服务处于不确定状态(从它的角度来看)。当然,如果您能够连接到服务并运行查询,则服务必须在运行中,所以不用担心这个问题。

请参阅这里:http://www.sqlservercentral.com/Forums/Topic825246-146-1.aspx


2
SSMS使用WMI查询服务器状态。如果一切正常(服务正在运行等),但您仍然看不到绿色箭头,则可能需要在服务器上获得其他权限。本地管理员应该能够看到绿色箭头。更多信息请参见https://blogs.msdn.microsoft.com/psssql/2013/08/21/service-status-watcher-in-sql-server-management-studio-how-it-works/。 - Ricardo C
相关问题 - crokusek

7
这与防火墙或SQL Server浏览器服务无关。默认情况下,SQL Server将侦听端口1433,除非您更改它。如果该端口被阻止,则无法访问该实例。
SQL Server浏览器会侦听传入的请求,如果禁用,则无法远程连接到服务器。
状态气泡是由权限问题引起的。排除故障的简单方法是关闭管理工具,右键单击并以管理员身份运行。如果状态显示出来,则存在权限问题。

4
我遇到了同样的问题。我解决的方法是通过注册服务器:右键单击实例,点击注册...,然后输入相关信息。重新连接即可。

0

SQL Server Management Studio使用WMI查询有关服务状态的信息。

If it’s a local machine, then make sure you are using “Run as administrator” option. and check if sure “Windows Management Instrumentation” service is running under services.msc on the server.

check that if the firewall is not blocking WMI communication. Now, Run WMI query to make sure we are able to query services. Below are the steps.

1. Start > Run > WBEMTest
2. Click on Connect and provide below (change Remote Machine Name and ComputerManagement<Number> based on SQL version.
\\{servername}\root\Microsoft\SQLServer\ComputerManagement13
3>Click Connect
4>Click on Query
5>Type Select * from SQLService and Apply. You should see the results.

If you have a problem with above that it's confirmed WMI issue.

Make sure that you are able to open SQL Server Configuration Manager, which uses WMI.


0

我在 SQL Server 2014 中遇到了这个问题,我按照以下步骤解决了它

1. Access SQL Server Configuration Manager
2. Under SQL Server Services, start the SQL Server Agent(make sure the start mode is automatic). 

启动后,SQL Server代理的红色警报消失了,数据库服务器上也出现了绿色播放图标。


0

我只需要重新启动SQL Server Management Studio (SSMS),就可以再次显示状态。


-2

这是给新用户的。如果你遇到同样的问题,最好手动启动Sql Browser服务,检查用户访问权限,检查所需端口是否已启用。任何一个解决方案都可能有帮助...


-3

您需要在防火墙上启用所有必需的端口;)


1
这并没有试图回答问题。 - pquest

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接