Submit a ticketCall us

WebinarUpcoming Webinar: Should I Move My Database to the Cloud?

So you’ve been running an on-premises SQL Server® for a while now. Maybe you’ve moved it from bare metal to a VM, and have seen some positive benefits. But, do you want to see more? If you said “YES!”, then this session is for you, as James Serra will review the many benefits that can be gained by moving your on-prem SQL Server to an Azure® VM (IaaS). He’ll also talk about the many hybrid approaches, so you can gradually move to the cloud. If you are interested in cost savings, additional features, ease of use, quick scaling, improved reliability, and ending the days of upgrading hardware, this is the session for you.

Register now.

Home > Success Center > Network Performance Monitor (NPM) > The Orion Web Console does not launch and there are XML errors in the log

The Orion Web Console does not launch and there are XML errors in the log

Updated March 13, 2017

Overview

If there is an extraneous file in your \Orion\Modules folder, such as a shortcut, the Orion Web Console does not launch, syslogs and traps restart constantly, and the log files have errors similar to the following:

ERROR SolarWinds.Orion.Core.Common.LocalFeatureManager - (null)	 Licensing refresh (Task<FeatureSet>){1, Faulted} failed. System.AggregateException: One or more errors occurred. ---> System.TypeInitializationException: The type initializer for 'SolarWinds.Orion.Core.Common.ModulesCollector' threw an exception. ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.ParseModuleXml(ModuleInfo moduleInfo, IDictionary`2 collection, XmlReader xmlreader)
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.LoadModulesInfoFromXmlFiles(Dictionary`2 collection, IEnumerable`1 files)
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.Load()
   at SolarWinds.Orion.Core.Common.ModulesCollector.ReloadModuleInfo()
   at SolarWinds.Orion.Core.Common.ModulesCollector..cctor()
   --- End of inner exception stack trace ---
   at SolarWinds.Orion.Core.Common.ModulesCollector.GetInstalledModules()
   at SolarWinds.Orion.Core.Common.InstalledProductSource.SolarWinds.Orion.Core.Common.IInstalledProductSource.GetModules()
   at SolarWinds.Orion.Core.Common.LicensedProductSource.<SolarWinds.Orion.Core.Common.ILicensedProductSource.GetLicensedModules>d__e.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at SolarWinds.Orion.Core.Common.LocalFeatureManager.GetFeatures()
   at SolarWinds.Orion.Core.Common.CachedFeatureSet.RefreshUpdateAndGetInTask()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
   at SolarWinds.Orion.Core.Common.CachedFeatureSet.WaitForRefresh(Task`1 getFeatures, Boolean needsResult, FeatureSet& features)
---> (Inner Exception #0) System.TypeInitializationException: The type initializer for 'SolarWinds.Orion.Core.Common.ModulesCollector' threw an exception. ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.ParseModuleXml(ModuleInfo moduleInfo, IDictionary`2 collection, XmlReader xmlreader)
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.LoadModulesInfoFromXmlFiles(Dictionary`2 collection, IEnumerable`1 files)
   at SolarWinds.Orion.Core.Common.ModuleCollectionLoader.Load()
   at SolarWinds.Orion.Core.Common.ModulesCollector.ReloadModuleInfo()
   at SolarWinds.Orion.Core.Common.ModulesCollector..cctor()
   --- End of inner exception stack trace ---
   at SolarWinds.Orion.Core.Common.ModulesCollector.GetInstalledModules()
   at SolarWinds.Orion.Core.Common.InstalledProductSource.SolarWinds.Orion.Core.Common.IInstalledProductSource.GetModules()
   at SolarWinds.Orion.Core.Common.LicensedProductSource.<SolarWinds.Orion.Core.Common.ILicensedProductSource.GetLicensedModules>d__e.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at SolarWinds.Orion.Core.Common.LocalFeatureManager.GetFeatures()
   at SolarWinds.Orion.Core.Common.CachedFeatureSet.RefreshUpdateAndGetInTask()
   at System.Threading.Tasks.Task`1.InnerInvoke(

 

Environment

Products running on Orion Platform version 2016.2, such as:

  • NPM 12.0.1
  • SAM 6.3

 

Cause 

The XML files cannot be read correctly due to the extraneous file

 

Resolution

  1. Remove the extraneous file.

 

 

 

 

Last modified

Tags

Classifications

Public