MSSQL databases not getting discovered
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2020 10:05 AM
Hi Folks,
We are trying to discover our MSSQL databases and while doing the discovery we are able to discover the instances, DBs for few servers and for few servers we are able to discover only the instances and not DBs. While checking the pattern we get the below error. Any suggestions on this error?
WMI query on host xx.xx.xx.xx failed. query: SELECT Name FROM Win32_PerfFormattedData_MSSQLSERVER_SQLServerDatabases error: Invalid class
WMI query on host xx.xx.xx.xx failed. query: SELECT Name FROM Win32_PerfFormattedData_MSSQLMSSQLSERVER_MSSQLMSSQLSERVERDatabases error: Invalid class
Little more detail:
This is getting executed in pattern "MSSql DB On Windows" and step "Get list of db from wmi" under identification for MS SQL server.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2021 05:41 AM
Is this link still valid?
I'm getting error message "You do not have sufficient privileges to access this knowledge item" but I suspect it's not a permission issue.
So the issue persists for me.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2020 12:55 PM
Hi Karthik
Please refer the below document
Please Mark Correct and Helpful
Thanks and Regards
Gaurav Shirsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2020 01:18 PM
Hi Gaurav,
This link is for MySQL and i have already gone through the documentation but couldn't get anything related to this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2025 06:59 AM
Hi @Karthik37
I'm also facing the same issue now, Have you find any solution ?
Thanks in advance !
Gokul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2025 04:10 AM - edited ‎05-22-2025 05:02 AM
Error during execution of Windows command: executeQuery -Namespace Root\Microsoft\SqlServer
-Query "SELECT Name FROM __NAMESPACE" due to com.snc.automation_common.integration.exceptions.InvalidCommandException: executeQuery : Could not get query SELECT Name FROM __NAMESPACE on namespace=Root\Microsoft\SqlServer through the remote session. Original Exception: Invalid namespace "Root\Microsoft\SqlServer"
The solution was to role out Windows Security Policies to SQL Servers