Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

 

 

 

Home > Success Center > Network Performance Monitor (NPM) > 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 MindTouch on Jun 23, 2016

Views: 1,305 Votes: 0 Revisions: 3

Updated

Overview

This article goes over a particular occurrence where the Configuration Wizard will error out 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 run, 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 based products

Cause 

The reason this issue is occurring is because of the method that the Configuration Wizard load starts up. At the beginning of the wizard 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 starts with SolarWinds.ConfigurationWizard.Plugin.*.dll.

The issue occurs when the configuration wizard is loading these plugins and it loads one where the required files are no longer present on the server, it will fail with the message above. Technically this could happen on any module in Orion, but in this case, the clue is the line just above the actual error:

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 prompts the error that is being seen.

This issue typically occurs due to a module being removed or uninstalled incorrectly, leaving portions of itself behind. Depending on the application recently removed will depend on actions needed. 

Resolution

  1. Verify which application is referenced in the configuration wizard loadup.
  2. Verify if it 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 module verified.
  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.

 

Last modified
21:56, 22 Jun 2016

Tags

Classifications

Public