Network Management
Configuration Wizard failed: Access to the path <SolarWinds Installation Path>\<filename>.dll is denied in Orion
This article describes how to fix the error during the Configuration Wizard about denied access to specific .dll files
First published date
Last published date
Overview
The Configuration Wizard displays the message,
Website configuration failed: Access to the path 'C:\Program Files (x86)\SolarWinds\Orion\CloudMonitoring\SolarWinds.CloudMonitoring.Strings.dll' is denied.
Or other similar messages
Website configuration failed: • • Access to the path 'E:\Program Files (x86)\SolarWinds\Orion\SolarWinds.AgentManagement.Contract.dll' is denied.
Deploying packages failed: Services configuration failed: One or more errors occurred.
Product section
Cause
A Solarwinds DLL file may have a lock from other windows processes
Resolution
Resolution 1:
Ensure the process that uses the .dll is shut down and does not start during the Configuration Wizard. Some .dll's are obvious what process would utilize them; some are not. The AgentManagement.contract.dll is in use by the Orion Agent. Ensure that service is not started while the wizard runs.
If services continue to startup on their own, you may quickly disable them via PowerShell commands.
NOTE: The last step in the Config Wizard is to start up and validate the SolarWinds services are running. So these checks will fail and throw errors. You may ignore these.
# 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. # Disable the services Get-Service -DisplayName solar* | Stop-Service -PassThru | Set-Service -StartupType disabled # Return the services back to the original state Get-Service -DisplayName solar* | Set-Service -StartupType Automatic
Resolution 2:
- Reboot the server.
- Run the Configuration Wizard again.
Resolution 3:
- Open the file location specified on the Error on ConfigurationWizard.log file (located at C:\ProgramData\Solarwinds\Logs\Orion)
- Back up the file first, then try deleting the file.
- It should return an error from Windows saying that the file is in use by an application.
- Look for the application that is using the file on Task Manager. Select then End Task
- Re-Run Configuration Wizard
NOTE: When you are installing or upgrading your SolarWinds products, SolarWinds recommends that you log in to your Orion systems with the local Administrator account (do not use a Domain Admin account) to avoid GPOs and any other potential permission issues. AND/OR right-click the App Installer then "Properties" and "Unblock" and OK then right-click and choose to Install as an Administrator.
You may want to consider the following,
- Check permissions using the Orion Permission Checker and fix
- Make sure User Access Control (UAC) and Antivirus is disabled
Resolution 4:
To fix this > Stop IIS website and Clear .Net cache > Re-run the config wizard
NOTE: If all else fails, you can request the client to spin a new VM and perform the installation.
See also:
Orion Website configuration failed in the Configuration Wizard Access to the path 'C:\Program Files (x86)\SolarWinds\Orion\SolarWinds.AgentManagement.Contract.dll' is denied.