Discovery - quick disovery failing to create CI for the MID server host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2024 02:14 AM
Hi,
I'm running a quick discovery on the host where we have installed a MID Server but i'm getting the following error:
2024-10-24 09:04:46: Executing WMI query on host: [IP ADDRESS REMOVED] with namespace: root/Microsoft/SqlServer and query: SELECT Name FROM __NAMESPACE
2024-10-24 09:04:46: 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. Original Exception: Invalid namespace At line:1 char:5 + & { executeQuery -Namespace root/Microsoft/SqlServer -Query "SELECT N ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,executeQuery
Can anyone explain to what this error actually means?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 12:04 PM
Did you ever solve this issue? I am getting the same error

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 12:10 AM
I've the same issue. Did you manage to resolve it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 12:18 AM
No, I've the same issue. Did you manage to resolve it ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 10:25 PM
No, still looking for a solution.
I just read this post which might help: https://www.servicenow.com/community/itom-forum/sql-db-discovery-issue/m-p/3122763/highlight/true#M1...
On the other hand, i read also that it might be a permission issue.