Network Management

Configuration Wizard fails with Error The process cannot access the file

This error can occur in many different sections of Orion core, its modules and Configuration Wizard. The following error message appears: ConfigurationProgressScene - Exception while configuring plugins. System.IO.IOException: The process cannot access the file ... because it is being used by another process.

First published date

11/26/2018 7:09 PM

Last published date

2/26/2025 4:07 AM

Overview

Following error message appears during configuration wizard ether during fresh install or upgrades and the error might occur at any stage of config wizard. It is generic and points to general permission issues or AV.
ConfigurationProgressScene - Exception while configuring plugins.
System.IO.IOException: The process cannot access the file 'C:\InetPub\SolarWinds28\bin\wurfl.xml.gz'
System.IO.IOException: The process cannot access the file 'C:\Users\orionlocal\AppData\Local\Temp\SWPackagingTemp\OpenJDK\13\bin\server\jvm.dll'

OR

2021-08-29 13:47:12,608 [24] ERROR TaskAdapter - Error running task Orion.DeployingPackages Deploying packages
System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The process cannot access the file 'C:\Users\arcosdc\AppData\Local\Temp\SWPackagingTemp\AgentManagement\ ' because it is being used by another process.

OR

2022-02-09 19:22:56,305 [20] ERROR TaskAdapter - Error running task Orion.DeployingPackages Deploying packages
System.IO.IOException: The process cannot access the file 'C:\Program Files (x86)\SolarWinds\Orion\Packaging\Repository\Orion.Apollo.VIM.8.8.0.14798.opkg' because it is being used by another process.
Note on environment:
  • All versions of Orion core and modules
  • WIndows Server 2008+
  • Installed Anti Virus applications

Product section

Orion Platform

Cause

This error occurs when one of the following files is being used in another directory or the following programs are affecting the files: 
  • Antivirus is currently scanning or has quarantined the item(s).
  • App pool\website\service is currently running.
  • A different App pool\website is pointing to the same directory or files.
  • A app / process is running and currently utilizing the directory or files.
  • Permission on the account currently logged in to Server
  • Did not launch Configuration Wizard using Run as administrator (especially if UAC is enabled)

Resolution

 

  1. If any other users logged on to the Server via Task Manager > Users tab if yes > Sign out all others
  2.  If there are any Solarwinds Processes running (Apart from Config wizard and Administration service) if so, do end task and wait a min or two to see they are not restarting automatically. 
  3. If UAC is enabled make sure to launch Config wizard via Run as administrator. In some cases it is better to disable UAC temporarily and enable back after activity is complete.
  4. Check permissions using the Orion Permission Checker
  5. Shutdown any antivirus application Services on the server.
  6. If possible set exclusions for the SolarWinds directories as outlined here: Files and directories to exclude from antivirus scanning for Orion Platform products (AV exceptions and exclusions).
  7. If error points to Website directory and files make sure Solarwinds App pool is stopped.
  8. If steps 1 to 4 fails, login as other local admin account and re run configuration wizard
  9. If file is in a temp directory, delete it and re-run the configuration wizard.

If steps 1-8 fails. Reboot the server