Yesterday I was able to use Activity monitor in 2012 management studio to view Activity on SQL Server 2008 R2. I installed 2012 SP 1 now I get access denied on the SQL Server 2008 R2 Servers that I connect to with domain authentication. Servers connected to with SQL Server authentication still work, SQL Server 2012 SP1 Activity monitor on same computer, and 2005 management studio Activity monitor still works. Other users who have not installed SP1 are still able to run activity monitor through 2012 management studio. Rights on SQL Servers have not changed. I can connect to the servers, and run queries on user tables, just cannot run Activity Monitor. Does not make a difference if I run management studio as administrator, same results.
Environment:
SQL Server 2012 SP1 installed on Windows 7 Sp 1 64bit, accessing SQL Server 2008 R2
Error text:
===================================
The Activity Monitor is unable to execute queries against 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.
===================================
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) (mscorlib)
------------------------------
Program Location:
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at Microsoft.SqlServer.Management.ResourceMonitoring.SqlPerfmonProcessReader.get_LogicalCpuCount()
at Microsoft.SqlServer.Management.ResourceMonitoring.SqlPerfmonProcessReader.GetSqlProcessCpuUtilization()
at Microsoft.SqlServer.Management.ResourceMonitoring.BackgroundSqlCpuTask.Execute()
at Microsoft.SqlServer.Management.ResourceMonitoring.BackgroundWorkRequest.Execute()
at Microsoft.SqlServer.Management.ResourceMonitoring.BackgroundWorkRequestQueue.BackgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
↧
After installing SP1 SQL Server 2012 Activity monitor gives Access denied
↧