- Messages
- 34,981
- Country

This has come up several times. The compiler fails with an error similar to the one below:
This is generally caused by using the original version of BglComp.exe and BglComp.xsd (on the FSX deluxe distribution DVD). It was fixed in later version so please make sure that you have updated the SDK to at least SP1a. (SP1A can be downloaded from here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=10027
Check the dates on the BglComp.exe and BglComp.xsd. They should both be later than the respective dates below:
BglComp.exe = 4 September 2006
BglComp.xsd = 29 August 2006
Code:
INTERNAL COMPILER ERROR: #C2031: Failed element parse <BoundaryFence>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = United Kingdom
ERROR: city = Leeds Bradford
ERROR: name = Leeds Bradford
ERROR: lat = 53.8658333569765
ERROR: lon = -1.66055560112
ERROR: alt = 680.997F
ERROR: magvar = 4
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: ident = EGNM
ERROR: >
ERROR: <BoundaryFence
ERROR: profile = {a3a491b1-ef49-47db-9c2b-080f48a5ea5d}
ERROR: >
This is generally caused by using the original version of BglComp.exe and BglComp.xsd (on the FSX deluxe distribution DVD). It was fixed in later version so please make sure that you have updated the SDK to at least SP1a. (SP1A can be downloaded from here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=10027
Check the dates on the BglComp.exe and BglComp.xsd. They should both be later than the respective dates below:
BglComp.exe = 4 September 2006
BglComp.xsd = 29 August 2006
Last edited: