FSDreamTeam forum

Products Support => GSX Support FSX/P3D => Topic started by: Susje00 on April 24, 2017, 07:26:13 pm

Title: GSX Problem during install **SOLVED**
Post by: Susje00 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?
Title: Re: GSX Problem during install
Post by: virtuali 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.
Title: Re: GSX Problem during install
Post by: Susje00 on April 29, 2017, 12:21:09 am
I use P3D.
Title: Re: GSX Problem during install
Post by: virtuali 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.
Title: Re: GSX Problem during install
Post by: Susje00 on April 29, 2017, 08:15:56 pm
Here you have, thanks
Title: Re: GSX Problem during install
Post by: Susje00 on May 01, 2017, 11:42:15 am
Any answer?
Title: Re: GSX Problem during install
Post by: virtuali 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.
Title: Re: GSX Problem during install
Post by: Susje00 on May 01, 2017, 04:35:31 pm
Okay thanks and sorry.
Title: Re: GSX Problem during install
Post by: virtuali 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.
Title: Re: GSX Problem during install
Post by: Susje00 on May 01, 2017, 08:00:25 pm
I dont understand you. What do you want me to do
Title: Re: GSX Problem during install
Post by: Susje00 on May 01, 2017, 08:04:44 pm
Okay, problem SOLVED!! Thanks you sooooo muuuch!!!!