
The Facility: WMI indicates this is a WMI-level security problem the user account does not have the WMI permissions required to access the specified WMI namespace. The following screenshot shows the 0x80041003error as reported by wbemtest: You will also be able to reproduce the same error independently of SQL Monitor (see Reproducing the error externally to SQL Monitor at the end of the article). You will see the 0x80041003 error reported in the SQL Monitor logs ( Configuration - Diagnostics - Retrieve log files) using the affected server name as reference. 0x80041003 WBEM_E_ACCESS_DENIED – Access Denied For example, OpenNamespace:Root indicates the problem occurred at the root WMI namespace level meaning that the account used by the SQL Monitor to access the remote entity did not have DCOM permissions required to connect to the root namespace on the target entity. What is reported for OpenNamespace: indicates the operating context of the request. The user account being used to connect to the remote server does not have DCOM permissions to access the remote machine using WMI. The Facility: Win32 indicates this is a DCOM-level security problem. The following screenshot shows the error, as reported by wbemtest: You will see the 0x80070005 error reported in the SQL Monitor logs ( Configuration - Diagnostics - Retrieve log files) using the affected server name as reference. 0x80070005 E_ACCESS_DENIED – Access is denied Once you fix the external problem, the connection error will be resolved in SQL Monitor. Beyond this, Redgate cannot provide further support for these environmental issues. The guidance that follows summarizes our previous experiences with these problems, typical underlying causes, and possible resolutions that have worked for other customers. You will be able to reproduce the error by running connection tests externally to SQL Monitor, using wbemtest or PowerShell. NOTE : These problems are Windows DCOM or WMI connection errors, not SQL Monitor errors. You will see 0x80070005 E_ACCESS_DENIED for DCOM-level permissions, or 0x80041003 WBEM_E_ACCESS_DENIED, for WMI permissions. It indicates insufficient permissions assigned to the account being used to connect to the monitored server. Often encountered when testing a connection to a new monitored server. SQL Monitor reports connection errors such as "Monitoring Stopped" and Show log reveals "incorrect credentials or "insufficient permissions and " access is denied" error messages.
