Jump to content
LaunchBox Community Forums

Error adding game in LaunchBox


Spit-Nick

Recommended Posts

Elemento raiz inexistente.

App:     LaunchBox
Version: 10.7
Type:    System.Xml.XmlException
Site:    Void Throw(System.Exception)
Source:  System.Xml

   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlReader.MoveToContent()
   at System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving)
   at System.Data.DataSet.ReadXml(String fileName)
   at (<>c__DisplayClass2_0 )
   at Unbroken.LaunchBox.Search.RomFiles.<>c__DisplayClass2_0.<PopulateFiles>b__0()
   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()

Recent Log:

   13:12:41 Music.Prepare Start
   13:12:41 Music.Kill Start
   13:12:41 Music.Kill Finished
   13:12:41 Music.NotifyTrackList Start
   13:12:41 Music.NotifyTrackList Invoke WPF
   13:13:04 Exception

 

 

Please help

Edited by Spit-Nick
Link to comment
Share on other sites

I'm adding a shortcut to a windows game, as I've done thousands of times and it always worked out, but this time, when it's in the final part where it was supposed to appear the name of the game for launchbox get the data on the net, give this error.

I would like to know if there is a way for me to recover any kind of backup prior to this problem and which file should I recover from launchbox.

 

Link to comment
Share on other sites

Hadn't seen this until now. Unfortunately this does mean that one of your XML files is corrupt, which can on rare occasions happen when the app is killed. You should have automatic backups available in the LaunchBox\Backups folder, which should be relatively easy to restore. Just restore one of them to your LaunchBox\Data folder, and overwrite the existing files. Or, if you can still run LaunchBox, you can use the built-in restore utility.

Link to comment
Share on other sites

 

39 minutes ago, Jason Carr said:

Hadn't seen this until now. Unfortunately this does mean that one of your XML files is corrupt, which can on rare occasions happen when the app is killed. You should have automatic backups available in the LaunchBox\Backups folder, which should be relatively easy to restore. Just restore one of them to your LaunchBox\Data folder, and overwrite the existing files. Or, if you can still run LaunchBox, you can use the built-in restore utility.

 

Thanks for the reply Jason, but the error still remains.

Tried both ways and did not work with backup until 1 month before, always give the same error.

I even tried to add another game from another platform and the same error happened.

What xml files besides these backup could you restore?

Link to comment
Share on other sites

3 minutes ago, Jason Carr said:

Hmm, I see. Maybe it was a corrupted metadata download. Try deleting the following files while LaunchBox is closed:

  • LaunchBox\Metadata\Files.xml
  • LaunchBox\Metadata\Mame.xml
  • LaunchBox\Metadata\Metadata.xml

Hopefully that will fix it.

Will doing this have any side effects? Erasing all the images and data from the games I have?

Thank you for your help.

Link to comment
Share on other sites

Just now, Spit-Nick said:

Will doing this have any side effects? Erasing all the images and data from the games I have?

Thank you for your help.

Nope. It won't affect any of your game data. It's a local cache of the metadata on the LaunchBox Games Database, and if it gets corrupted, it can cause issues like this.

  • Like 1
Link to comment
Share on other sites

9 minutes ago, Jason Carr said:

Nope. It won't affect any of your game data. It's a local cache of the metadata on the LaunchBox Games Database, and if it gets corrupted, it can cause issues like this.

It worked. :)

Thank you so much Jason for your help.

I wish you a great 2020, your family and all the moderation / staff of this wonderful program.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...