Author Topic: GSX Problem during install **SOLVED**  (Read 5086 times)

Susje00

  • Newbie
  • *
  • Posts: 9
GSX Problem during install **SOLVED**
« on: April 24, 2017, 07:26:13 pm »
Hello, i have a problem when im installing GSX

When it wants to write into XML it said: Error on line 8, position 3: Only one top level element is allowed in an XML document"

How can i fix it?
« Last Edit: May 02, 2017, 08:41:46 am by virtuali »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50653
    • VIRTUALI Sagl
Re: GSX Problem during install
« Reply #1 on: April 25, 2017, 09:54:45 am »
When it wants to write into XML it said: Error on line 8, position 3: Only one top level element is allowed in an XML document"

This is a result of either you DLL or EXE XML files being already corrupted before launching the GSX installer, which correctly check with Windows if the XML file is legal BEFORE trying to change it (if it didn't, the file would be easily corrupted even more), when a corrupted XML file is found, you are issued with the error, so the installation will not continue until you fix the errors.

If you don't know how to fix it, if you post the files ( ZIPPED, and Attached to a post ), I can tell you where the problem is. You don't say if you use FSX or P3D, so it's difficult to tell you exactly where to find the files, if you don't know it already.

Susje00

  • Newbie
  • *
  • Posts: 9
Re: GSX Problem during install
« Reply #2 on: April 29, 2017, 12:21:09 am »
I use P3D.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50653
    • VIRTUALI Sagl
Re: GSX Problem during install
« Reply #3 on: April 29, 2017, 11:35:00 am »
I use P3D.

Prepar3D has two different file locations where the XML files are located, one under %APPDATA%\Lockheed Martin, and the other under %PROGRAMDATA%\Lockheed Martin, and both are used by the sim. Your files seems to be fine, and they are probably the ones under %APPDATA%, so I guess the corrupted ones must the ones under %PROGRAMDATA% instead.

Repeat and Zipped them, so I can tell you what the error is.

Susje00

  • Newbie
  • *
  • Posts: 9
Re: GSX Problem during install
« Reply #4 on: April 29, 2017, 08:15:56 pm »
Here you have, thanks

Susje00

  • Newbie
  • *
  • Posts: 9
Re: GSX Problem during install
« Reply #5 on: May 01, 2017, 11:42:15 am »
Any answer?

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50653
    • VIRTUALI Sagl
Re: GSX Problem during install
« Reply #6 on: May 01, 2017, 11:49:15 am »
Any answer?

You posted your file Saturday, you cannot always expect to get an answer during the weekend. I'll try to reply later, even if today is Labor's Day.

Susje00

  • Newbie
  • *
  • Posts: 9
Re: GSX Problem during install
« Reply #7 on: May 01, 2017, 04:35:31 pm »
Okay thanks and sorry.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50653
    • VIRTUALI Sagl
Re: GSX Problem during install
« Reply #8 on: May 01, 2017, 07:24:32 pm »
I've checked the 2nd set of files you posted, and yes, the EXE.XML is corrupted, there's a line containing this:

</SimBase.Document>

In the middle of it. It should be enough to remove it (line 7) to fix the file.

Susje00

  • Newbie
  • *
  • Posts: 9
Re: GSX Problem during install
« Reply #9 on: May 01, 2017, 08:00:25 pm »
I dont understand you. What do you want me to do

Susje00

  • Newbie
  • *
  • Posts: 9
Re: GSX Problem during install
« Reply #10 on: May 01, 2017, 08:04:44 pm »
Okay, problem SOLVED!! Thanks you sooooo muuuch!!!!