Submit a ticketCall us

WebinarFREE IT Monitoring Webcast

Don’t miss out on our webcast, Essential IT Monitoring with SolarWinds ipMonitor, where we will show you how to keep an eye on your IT environment from one centralized, affordable, and lightweight monitoring tool: SolarWinds® ipMonitor®.

Register now.

Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > Configuration Wizard will not run with the error SolarWinds.ConfigurationWizard.Host has stopped working

Configuration Wizard will not run with the error SolarWinds.ConfigurationWizard.Host has stopped working

Created by Matthew Lamb, last modified by Liz Fischer on Jun 27, 2018

Views: 2,993 Votes: 1 Revisions: 8

Updated

Overview

This article covers a particular occurrence where the Configuration Wizard will throw an error at the start of its run with the message SolarWinds.ConfigurationWizard.Host has stopped working. Multiple attempts to run the configuration wizard result in the same message each time.

When looking through the ConfigurationWizard.log for that session, you would find an error such as this:

2016-05-25 15:06:54,442 [8] INFO  FastBitServerConfig - FastBit Server Configuration has been loaded.
2016-05-25 15:06:54,458 [8] ERROR ProgramStarter - Unhandled exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: File format is not valid.
   at System.Windows.Forms.RichTextBox.StreamIn(Stream data, Int32 flags)
   at System.Windows.Forms.RichTextBox.StreamIn(String str, Int32 flags)
   at System.Windows.Forms.RichTextBox.set_Rtf(String value)
   at SolarWinds.ConfigurationWizard.Plugin.NetFlow.ConfigurationScenes.MsSQLToFastBitSummary..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance[T]()
   at SolarWinds.ConfigurationWizard.Plugin.NetFlow.ConfigurationScenes.MsSQLToFastBitSceneBase`1..ctor()
   at SolarWinds.ConfigurationWizard.Plugin.NetFlow.NetFlowPlugin.GetScenes(WizardWorkflowType type, IOrionConfigHost host)
   at SolarWinds.ConfigurationWizard.Host.WorkflowController.<>c__DisplayClassc.<OrderScenesFromPlugins>b__0(IOrionConfigPluginEx plugin, Int32 pluginIndex)
   at System.Linq.Enumerable.<SelectManyIterator>d__1d`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at SolarWinds.ConfigurationWizard.Host.WorkflowController.OrderScenesFromPlugins(List`1 listOfCoreScenesUniqueIds, IEnumerable`1 pluginsWithScenes, WizardWorkflowType wizardWorkflowType, IOrionConfigHost configHost)
   at SolarWinds.ConfigurationWizard.Host.WorkflowController.GetPluginsScenes(WorkflowType workflowType, WizardWorkflowType wizardWorkflowType)
   at SolarWinds.ConfigurationWizard.Host.WorkflowController.InitAdditionalModuleWorkflow()
   at SolarWinds.ConfigurationWizard.Host.WorkflowController.InitWorkflow()
   at SolarWinds.ConfigurationWizard.Host.WorkflowController..ctor(IOrionConfigHost configHost)
   at SolarWinds.ConfigurationWizard.Host.Presentation.MainForm..ctor(IOrionConfigHost configHost)
   at SolarWinds.ConfigurationWizard.Host.ProgramStarter.<>c__DisplayClass3.<Start>b__0()
   at SolarWinds.ConfigurationWizard.Host.Presentation.SplashScreenForm.PerformBackgroundOperationInternal()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Environment

  • All Orion Platform products

Cause 

This issue occurs because of the way the Configuration Wizard starts up. At the beginning of the wizard's run, it loads all of its plugins to determine what areas it needs to focus on. These files are located in the install directory: Program Data (x86)\SolarWinds\Orion and are named in the format SolarWinds.ConfigurationWizard.Plugin.*.dll.

This issue happens when the configuration wizard tries to load a plugin but the required files are no longer present. This could happen on any module in Orion, but in this case you can see from the following line in the log (just above the actual error) which plugin caused the problem: 

2016-05-25 15:06:54,442 [8] INFO  FastBitServerConfig - FastBit Server Configuration has been loaded.

This line indicates what happened just before the failure occurred: it loaded NTA's FastBit server plugins and schemas and could not find the correct files or file types to process. This halts the loadup of the Configuration Wizard and causes the error that is being seen.

This issue typically occurs due to a module being removed or uninstalled incorrectly, leaving portions behind. Depending on the application recently removed, the resolution may differ slightly.

Resolution

  1. Check the ConfigurationWizard.log to find out which application is referenced in the configuration wizard loadup (see Cause for explanation).
  2. Verify that module was recently removed.
  3. Go into the directory Program Files (x86)\SolarWinds\Orion.
  4. Look for the file named SolarWinds.ConfigurationWizard.Plugin.*.dll. Replace the star with the name of the recently removed module.
  5. Pull that .dll from the directory and place on the desktop or delete it.
  6. Run the Configuration Wizard again. This will remove that plugin from being loaded with the configuration wizard entirely.

 

===========================================================================================

If the above troubleshooting did not work or if there are no applications mentioned, please follow these steps below:

 

  1. Click Start > Control Panel > Add or Remove Programs.
  2. Click Remove for all items starting with SolarWinds, and complete the uninstall wizard.
  3. Start the Registry Editor, and delete SolarWinds-specific folders.
    1. Click > Start > Run...
    2. Type regedit, and click OK.
    3. Expand HKEY_LOCAL_MACHINE > Software.
    4. Delete both the SolarWinds and the SolarWinds.net folders.

      If you are uninstalling SolarWinds NPM from a 64-bit computer, expand HKEY_LOCAL_MACHINE > Software > Wow6432Node, and delete both the SolarWinds and the SolarWinds.net folders.

  4. Delete the following SolarWinds-specific folders, listed with the default paths.
    • C:\Program Files (x86)\SolarWinds
    • C:\Program Files (x86)\Common Files\SolarWinds
    • C:\inetpub\SolarWinds
    • C:\ProgramData\Solarwinds
    • C:\ProgramData\SolarWindsAgentInstall

 

Install all of the modules one-by-one, you can download the installers from the customer portal page.

 

 

Last modified

Tags

Classifications

Public