Submit a ticketCall us

WebinarUpcoming Webinar: Know What’s Changed – with NEW Server Configuration Monitor

Change management in IT is critical. But, even with a good change management process, changes are too often not correctly tracked, if at all. The configuration of your servers and applications is a key factor in their performance, availability, and security. Many incidents can be tracked back to an authorized (and sometimes unauthorized) configuration change, whether to a system file, configuration file, or Windows® Registry entry. Join SolarWinds VP of product management Brandon Shopp to discover how the new SolarWinds® Server Configuration Monitor is designed to help you.

Register 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: 2,524 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