walouigi 0 Posted December 12, 2020 Report Share Posted December 12, 2020 Hi There Today I got this error when compiling my scenery for STB An exception occurred while trying to compile a new airports database. As a result of this error, the default airport database will be used. The default database does not contain flight schedules, airport data (runways and parking) or airport names you may have customized. This may result in incorrect flight numbers being displayed, incorrect departures schedules for aircraft moved to the stand by approach control, and flight distance data will be more limited. System.IO.InvalidDataException: Invalid BGL file E:\AIGAIM - OCI\Traffic Files\scenery\Traffic_AIG_9Air_Winter_2018-2019v3.bgl found in scenery library entry AIGAIM Traffic files (E:\AIGAIM - OCI\Traffic Files). Additional details: System.InvalidOperationException: Source Path E:\AIGAIM - OCI\Traffic Files\scenery\Traffic_AIG_9Air_Winter_2018-2019v3.bgl is already present in the collection. Duplicates are not permitted. at FLW.Simulator.Objects.FlightPlanSourcePathCache.Add(String sourcePath) in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV4\Common\STB-P3DV4-FSObjects\FSObjects\FlightPlanSourcePathCache.cs:line 120 at FLW.Simulator.Objects.AirportCompiler.LoadFlightPlans(TrafficBgl trafficBgl, FlightPlanSourcePathCache flightPlanSoucePathDB) in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV4\Common\STB-P3DV4-FSObjects\FSObjects\AirportCompiler.cs:line 249 at FLW.Simulator.Objects.AirportCompiler.LoadFlightPlansFromBGLsInPath(String description, String path, FlightPlanSourcePathCache flightPlanSoucePathDB) in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV4\Common\STB-P3DV4-FSObjects\FSObjects\AirportCompiler.cs:line 1070 Exception Handler Type: None at FLW.Simulator.Objects.AirportCompiler.LoadFlightPlansFromBGLsInPath(String description, String path, FlightPlanSourcePathCache flightPlanSoucePathDB) in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV4\Common\STB-P3DV4-FSObjects\FSObjects\AirportCompiler.cs:line 1074 at FLW.Simulator.Objects.AirportCompiler.LoadFlightPlansFromSceneryPath(SimContentConfigItem sceneryConfiguration, FlightPlanSourcePathCache flightPlanSoucePathDB) in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV4\Common\STB-P3DV4-FSObjects\FSObjects\AirportCompiler.cs:line 1005 at FLW.Simulator.Objects.AirportCompiler.LoadFlightPlans(ISimContentDatabase db, StringEventHandler reportContentError) in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV4\Common\STB-P3DV4-FSObjects\FSObjects\AirportCompiler.cs:line 934 at FLW.Simulator.Objects.AirportCompiler.PerformCompileSteps() in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV4\Common\STB-P3DV4-FSObjects\FSObjects\AirportCompiler.cs:line 219 at FLW.Simulator.Objects.AirportCompiler.Compile() in C:\_Data\Software Development\Flying-W\GitHub\STB\STB-P3DV4\Common\STB-P3DV4-FSObjects\FSObjects\AirportCompiler.cs:line 170 Exception Handler Type: None I have added for you the documents for STB attached Please advise. Thanks STB_Client.637433914310215047.UnDeployer.txt STB_Client.637433914419084700.UnDeployer.txt STBClient.Trace.txt STBDataServer.Trace.txt Quote Link to post Share on other sites
walouigi 0 Posted December 12, 2020 Author Report Share Posted December 12, 2020 Can anyone help please, I am unable to use the program . Thanks Quote Link to post Share on other sites
flying-w 77 Posted December 17, 2020 Report Share Posted December 17, 2020 This issue was resolved over email. We discovered AIG was registered to Prepar3D twice (2x addon.xml) which was the cause of the problem. THere was a duplicate addon.xml in My Documents which once removed fixed the issue. Simon Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.