Exception: System.Xml.XmlException: Root element is missing.
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Dec 2010
    Posts
    83

    Default Exception: System.Xml.XmlException: Root element is missing.

    Hey guys,

    PC crashed during a session and when I restart I get the Error Report window thrown. I checked out the log:

    00:00.029 [Main:UnityBootstrapper.Run] Logger was created successfully.
    00:00.032 [Main:UnityBootstrapper.Run] Creating module catalog.
    00:00.034 [Main:UnityBootstrapper.Run] Configuring module catalog.
    00:00.035 [Main:UnityBootstrapper.Run] Creating Unity container.
    00:00.080 [Main:UnityBootstrapper.Run] Configuring the Unity container.
    00:00.093 [Main:UnityBootstrapper.ConfigureContainer] Adding UnityBootstrapperExtension to container.
    00:00.184 [Main:Bootstrapper.ConfigureContainer] ConfigureContainer loaded in 97.0056ms
    00:00.185 [Main:UnityBootstrapper.Run] Configuring ServiceLocator singleton.
    00:00.186 [Main:UnityBootstrapper.Run] Configuring region adapters.
    00:00.211 [Main:Bootstrapper.ConfigureRegionAdapterMappings] ConfigureRegionAdapterMappings loaded in 24.0013ms
    00:00.211 [Main:UnityBootstrapper.Run] Configuring default region behaviors.
    00:00.214 [Main:UnityBootstrapper.Run] Registering Framework Exception Types.
    00:00.215 [Main:UnityBootstrapper.Run] Creating the shell.
    Exception: System.Xml.XmlException: Root element is missing.
    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo( String res)
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent( )
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(String filename)
    at Nini.Config.XmlConfigSource.Load(String path)
    at HoldemManager.Infrastructure.MiniConfiguration..ct or()
    at HoldemManager.Infrastructure.Singletons.get_MiniCo nfigurationService()
    at HoldemManager.Bootstrapper.ApplyTheme()
    at HoldemManager.Bootstrapper.CreateShell()
    at Microsoft.Practices.Composite.UnityExtensions.Unit yBootstrapper.Run(Boolean runWithDefaultConfiguration)
    at HoldemManager.App.OnStartup(StartupEventArgs e)
    at System.Windows.Application.<.ctor>b__1(Object unused)
    at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo( String res)
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent( )
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(String filename)
    at Nini.Config.XmlConfigSource.Load(String path)
    at HoldemManager.Infrastructure.MiniConfiguration..ct or()
    at HoldemManager.Infrastructure.Singletons.get_MiniCo nfigurationService()
    at HoldemManager.Bootstrapper.ApplyTheme()
    at HoldemManager.Bootstrapper.CreateShell()
    at Microsoft.Practices.Composite.UnityExtensions.Unit yBootstrapper.Run(Boolean runWithDefaultConfiguration)
    at HoldemManager.App.OnStartup(StartupEventArgs e)
    at System.Windows.Application.<.ctor>b__1(Object unused)
    at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
    at MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    Does anybody know how to fix this?

    So far I've searched the other 'root element missing' threads, and deleted different files that have been suggested to be deleted in those. I also tried reinstalling HM2 but that was no help. What is my next move?
    Last edited by infurrrno; 10-27-2011 at 06:41 AM.

  2. #2
    Member
    Join Date
    Dec 2010
    Posts
    83

    Default

    I missed a thread about this exact issue, in case anybody finds this thread searching for the same issue here is the resolution:

    Quote Originally Posted by udbrky
    Please delete everything EXCEPT FOR DATABASE AND CONFIG FOLDER in
    7: C:\Users\username\AppData\Roaming\HoldemManager\

    Showing hidden files: How to show hidden files in Windows 7

    XP: C:\Documents and Settings\User_name\Application Data\HoldemManager
    Showing hidden files: Microsoft Corporation
    uninstall, reinstall

    Hold'Em Manager Poker Software - Poker Tracking and Analysis Software

Similar Threads

  1. Root Element is missing
    By Gazou007 in forum Manager General
    Replies: 1
    Last Post: 02-04-2011, 10:48 PM
  2. Root element is missing.
    By Jeggs in forum Manager General
    Replies: 2
    Last Post: 05-18-2010, 01:02 PM
  3. Root element is missing
    By fiammaz in forum Manager General
    Replies: 1
    Last Post: 01-16-2010, 01:54 PM
  4. root element missing
    By wildbeans in forum Manager General
    Replies: 1
    Last Post: 11-25-2009, 08:48 PM
  5. root element missing
    By FATDAN44 in forum Manager General
    Replies: 5
    Last Post: 12-16-2008, 07:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •