Network Management

Orion Configuration wizard error: Cannot commit configuration changes because the file has changed on disk

This article provides information and steps to resolve the issue when you cannot commit configuration changes due to file change on a disk.

First published date

11/14/2018 9:06 PM

Last published date

2/22/2025 7:33 PM

Overview

This article provides information and steps to resolve the issue when the following error message occurs:

ConfigurationWizard.log will show information about creating and removing the virtual directories for api2, apps, ui or installers.

If there is an issue trying to create or delete the virtual directories, the following error message will follow:

ERROR TaskAdapter - Error running task Orion.ConfigureWebsite Orion Website
System.IO.FileLoadException: Filename: \\?\C:\windows\system32\inetsrv\config\applicationHost.config
Error: Cannot commit configuration changes because the file has changed on disk

Product section

Network Performance Monitor

Cause

The issue occurs due to create and delete operations for virtual directories are occurring at the same time and could cause a possible race condition.

Resolution

To resolve this problem, please upgrade to SolarWinds Platform 2023.2 and above.  If upgrade is not possible, please try the following steps:

  1. Navigate to C:\Program Files (x86)\SolarWinds\Orion\ or C:\Program FIles\SolarWinds\Orion
  2. Using a text editor, open ConfigurationWizard.exe.config
  3. Find the attribute for MaxParallelTasks and modify from 0 to 1.
  4. Save Changes
  5. Run configuration wizard and confirm the issue is resolved.

If this does not resolve the issue, perform the following steps:

  1. Modify the MaxParallelTasks from 1 to 0.
  2. Save Changes
  3. Open Microsoft Internet Information Services (IIS) Manager
  4. Navigate to the SolarWinds NetPerfMon
  5. Select View Applications
  6. Select each virtual path and select the Remove option.  Remove api2, apps and ui virtual path.
  7. View Virtual Directories
  8. Select installer virtual path and select Remove
  9. Re-run configuration wizard