Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

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: 283 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
21:46, 22 Jun 2016

Tags

Classifications

Public