Network Management
Configuration Wizard stuck at Overall 4.9% Database at 20% due to large NCM_ShadowRuleDetectionAclStatistics table
When running the Configuration Wizard (CW), the process hangs at 4.9% while showing 20% of Database on the progress bar. The root cause is a suspended SQL query populating the [dbo].[NCM_ShadowRuleDetectionAclStatistics] table, which has grown excessively large. The issue is resolved by truncating the NCM_ShadowRuleDetectionAclStatistics table and re-running the Configuration Wizard.
First published date
Last published date
Overview
The Configuration Wizard is stuck at this stage without any progress for 2 hours.
Steps to check:
- ConfigurationWizard.log repeatedly extends expiration
- 2026-02-24 07:24:49,630 [17] DEBUG SqlHelper - SQL: SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
- 2026-02-24 07:24:49,646 [17] INFO CwActiveInstanceChecker - Extending expiration for active instance of ConfigWizard on machine I010101 (10.210.52.202)
- 2026-02-24 07:24:49,630 [17] DEBUG SqlHelper - SQL: SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
- Run Procmon on MPE, no suspended / pending activities
-
- Login to SSMS > Activity Monitor > Search for Task State = Suspended
-
- Find problematic query
-
---
-- Data\85_1_NCM_InsertMissingSRDResultsForAllACLs.sql
----INSERT INTO [dbo].[NCM_ShadowRuleDetectionAclStatistics] (ConfigId, [AccessListName], [FullyShadowedCount], [PartiallyShadowedCount], [FullyRedundantCount], [PartiallyRedundantCount])
SELECT [ConfigId],
[AccessListName],
-2 AS [FullyShadowedCount],
-2 AS [PartiallyShadowedCount],
-2 AS [FullyRedundantCount],
-2 AS [PartiallyRedundantCount]
FROM
(SELECT [ConfigId],
[Name] AS [AccessListName]
FROM [dbo].[NCM_ConfigAccessLists] AS SOURCE
EXCEPT SELECT [ConfigId],
[AccessListName]
FROM [dbo].[NCM_ShadowRuleDetectionAclStatistics] AS Dest) AS MissingRules
-
- Killing the suspended process will end the Configuration Wizard
-
- Manually run the SQL Query and it doesn't complete even after 8 minutes.
Product section
Cause
A suspended SQL query populating the [dbo].[NCM_ShadowRuleDetectionAclStatistics] table, which has grown excessively large.
Resolution
- Truncate the [dbo].[NCM_ShadowRuleDetectionAclStatistics].
- This database table stores one row per config + access list. It is populated when SRD runs on downloaded configs (during NCM download/analysis jobs).
- This database table can be safely truncated
- Execute the query to truncate the database table
-
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. TRUNCATE TABLE [dbo].[NCM_ShadowRuleDetectionAclStatistics]
-
- Re-run the Configuration Wizard.