Submit a ticketCall us

Solarwinds & Cisco Live! Barcelona
Join us from the 29th of January to the 2nd of February at Cisco Live 2018 in Barcelona, where we will continue to show how monitoring the network with SolarWinds will keep you ahead of the game. At our booth (WEP 1A), we will demonstrate how SolarWinds network solutions can help. As a bonus, we are also hosting a pre-event webinar - Blame the Network, Hybrid IT Edition with our SolarWinds Head Geek™, Patrick Hubbard on January 24th - GMT (UTC+0): 10:00 a.m. to 11:00 a.m. There's still time to RSVP.

Home > Success Center > Network Performance Monitor (NPM) > An unexpected exception occurred during installation Could not find a part of the path ADResults

An unexpected exception occurred during installation Could not find a part of the path ADResults

Created by Malik Haider, last modified by MindTouch on Jun 23, 2016

Views: 2,126 Votes: 0 Revisions: 6

Updated June 22, 2016

Overview

When you try to install NPM 12 it results in an error: 

An unexpected exception occurred during installation

 

Details are as follows:

 

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\ProgramData\Application Data\Solarwinds\ADResults\'.

Server stack trace: 
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.IO.Directory.CreateDirectory(String path)
at SolarWinds.Orion.ActiveDiagnostics.Engine.DiagnosticEngine.GetExportFilePath()
at SolarWinds.Orion.ActiveDiagnostics.Engine.DiagnosticContract.ExportResultsToFile()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]: 
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SolarWinds.Orion.ActiveDiagnostics.Engine.DiagnosticContract.ExportResultsToFile()
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at SolarWinds.Orion.ActiveDiagnostics.Contract.ActiveDiagnosticsContract.ExportResultsToFile()
at OrionInstallerLib.PreFlightCheck.ActiveDiagnosticsManager.CollectData(String targetPath, IReportProgress progress, ActiveDiagnosticsContract contract)
at OrionInstallerLib.PreFlightCheck.ActiveDiagnosticsManager.RunDiagnostics(String rootFolder, String targetPath, IReportProgress progress, CancellationToken token)
at OrionInstallerLib.PreFlightCheck.ActiveDiagnosticsManager.CollectDiagnosticsToDirectory(String fullPath, IReportProgress progress, CancellationTokenSource tokenSource)
at OrionInstallerLib.PreFlightCheck.TelemetryManager.<>c__DisplayClass1.<GetAdTask>b__0()

Environment

  • NPM 12 upgrade 

Cause

Most likely with A/V and permissions to the directory.

 

Resolution

 

If the error details state "This installation is forbidden by system policy," the following procedure may correct the issue for installations on Windows 2008:

  1. Click Start > Control Panel.
  2. Click Administrative Tools.
  3. Click Local Security Policy.
  4. In the left pane, click Software Restriction Policies.
  5. If no software restrictions are defined, right-click Software Restriction Policies in the left pane, and then click New Software Restriction Policy.
  6. Click Enforcement.
  7. Select All users except local administrators.
  8. Click OK.
  9. Reboot your SolarWinds server.

 

If you still have the same issue, try to run the installer with -NoTest switch as mentioned in the following article. 

(Make sure the CMD is running as an Administrator.) 

Orion installer error: Please wait. Verifying system information and requirements...

 

 

 

 

 

 

Last modified

Tags

Classifications

Public