[Legacy] PSIcapture Troubleshooting: License Server: Root Element is missing

Problem:

PSIcapture Services are crashing. Local DB instance is present and operational. The Capture Services logs display the following entry:

[09/01/2019 13:25:18 - Error - v5.4.2.4]
Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at PSIGEN.Capture.Licensing.LicenseServer.LicenseServerService.LoadConfiguration()

[09/01/2019 13:25:20 - Error - v5.4.2.4]
The following exception(s) occurred loading the service manager.
The following error(s) occurred:
One or more errors occurred.
   at PSIGEN.Capture.Licensing.LicenseServer.LicenseServerService.LoadConfiguration()
   at PSIGEN.Capture.Licensing.LicenseServer.LicenseServerService.PSIGEN.Capture.Services.ICaptureServiceFactory.Initialize(Dictionary`2 properties)
   at PSIGEN.Capture.Services.ServiceManager.LoadService(XElement serviceNode)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass32`2.b__30()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
   at System.Threading.Tasks.Task.<>c__DisplayClass11.b__10(Object param0)<></></><></></>

 

Solution:

This error is pointing towards the configuration.xml located in the License Server ProgramData folder. The file has become corrupt. Continual use of the existing configuration.xml will cause the service to crash.

  1. Navigate to the following location via File Explorer:
    C:\ProgramData\PSIGEN\License Server\Configuration
  2. Delete the configuration.xml from within the folder.
  3. Restart the services.
  4. Launch the License Server.
  5. Relicense all products by re-adding any License Server key(s).
  6. Launch PSIcapture.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.