sql-server-2008 – 活动监视器无法对服务器执行查询

有没有解决方案让SSMS活动监视器工作?

问题:

sql Server活动监视器失败并显示错误对话框:

TITLE: Microsoft sql Server Management
Studio
The Activity Monitor is
unable to execute queries against
server [SERVER]. Activity Monitor for
this instance will be placed into a
paused state. Use the context menu in
the overview pane to resume the
Activity Monitor.

ADDITIONAL informatION:
Unable to
find sql Server process ID [PID] on
server [SERVER]
(Microsoft.sqlServer.Management.ResourceMonitoring)

我在sql Server 2008 R2 x64 Developer Edition上遇到此问题,但我认为在使用sql Server 2008的所有64位系统中都可以找到它,但在一些尚未识别的情况下.

Microsoft Connect中有一个bug report,但尚未解决.

解决方法

检查性能监视器中是否存在sqlServer性能计数器.如果没有,manually rebuild all performance counters运行带有管理权限的lodctr / R命令:
cd \windows\system32
lodctr /R

相关文章

SELECT a.*,b.dp_name,c.pa_name,fm_name=(CASE WHEN a.fm_n...
if not exists(select name from syscolumns where name=&am...
select a.*,pano=a.pa_no,b.pa_name,f.dp_name,e.fw_state_n...
要在 SQL Server 2019 中设置定时自动重启,可以使用 Window...
您收到的错误消息表明数据库 'EastRiver' 的...
首先我需要查询出需要使用SQL Server Profiler跟踪的数据库标...