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
Last published date
Overview
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
Cause
- 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
- If any other users logged on to the Server via Task Manager > Users tab if yes > Sign out all others
- 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.
- 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.
- Check permissions using the Orion Permission Checker
- Shutdown any antivirus application Services on the server.
- 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).
- If error points to Website directory and files make sure Solarwinds App pool is stopped.
- If steps 1 to 4 fails, login as other local admin account and re run configuration wizard
- If file is in a temp directory, delete it and re-run the configuration wizard.
If steps 1-8 fails. Reboot the server