May 20, 20197 yr Hello, I receive an error message when loading the new version, log contents is copied below : Program StartedPilot 2 ATC (P2A) - version 2.6.0.0_x64_R2 05/20/2019 13:41:39 Error in FlightDate Init System.Data.Entity.Core.MetadataException: Schema specified is not valid. Errors: The relationship 'P2ADataModel.FK_AirportSID' was not loaded because the type 'P2ADataModel.SID' is not available. The relationship 'P2ADataModel.FK_APPRTransitionTERP_Leg' was not loaded because the type 'P2ADataModel.TERP_Leg' is not available. The following information may be useful in resolving the previous error: The required property 'SID' does not exist on the type 'P2A_2018.TERP_Leg'. No corresponding object layer type could be found for the conceptual type 'P2ADataModel.ATCControllerType'. The following information may be useful in resolving the previous error: The enumeration type 'P2A_2018.ATCControllerType' defined in the object layer does not have a member that corresponds to the member 'FSS' whose value is '11' of the enumeration type 'P2ADataModel.ATCControllerType' defined in the conceptual model. No corresponding object layer type could be found for the conceptual type 'P2ADataModel.ApproachType'. The following information may be useful in resolving the previous error: The enumeration type 'P2A_2018.ApproachType' defined in the object layer does not have a member that corresponds to the member 'GLS' whose value is '5' of the enumeration type 'P2ADataModel.ApproachType' defined in the conceptual model. The relationship 'P2ADataModel.FK_FINALApproachTERP_Leg' was not loaded because the type 'P2ADataModel.TERP_Leg' is not available. The following information may be useful in resolving the previous error: The required property 'SID' does not exist on the type 'P2A_2018.TERP_Leg'. No corresponding object layer type could be found for the conceptual type 'P2ADataModel.FuelType'. The following information may be useful in resolving the previous error: The enumeration type 'P2A_2018.FuelType' defined in the object layer does not have a member that corresponds to the member 'JET' whose value is '1' of the enumeration type 'P2ADataModel.FuelType' defined in the conceptual model. No corresponding object layer type could be found for the conceptual type 'P2ADataModel.NavFixType'. The following information may be useful in resolving the previous error: The enumeration type 'P2A_2018.NavFixType' defined in the object layer does not have a member that corresponds to the member 'NDB' whose value is '3' of the enumeration type 'P2ADataModel.NavFixType' defined in the conceptual model. The relationship 'P2ADataModel.RunwayILS' was not loaded because the type 'P2ADataModel.ILS' is not available. The relationship 'P2ADataModel.FK_STARTERP_Leg' was not loaded because the type 'P2ADataModel.TERP_Leg' is not available. The following information may be useful in resolving the previous error: The required property 'SID' does not exist on the type 'P2A_2018.TERP_Leg'. at System.Data.Entity.Core.Metadata.Edm.ObjectItemCollection.LoadAssemblyFromCache(Assembly assembly, Boolean loadReferencedAssemblies, EdmItemCollection edmItemCollection, Action`1 logLoadMessage) at System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace.ExplicitLoadFromAssembly(Assembly assembly, ObjectItemCollection collection, Action`1 logLoadMessage) at System.Data.Entity.Core.Metadata.Edm.MetadataOptimization.TryUpdateEntitySetMappingsForType(Type entityType) at System.Data.Entity.Internal.InternalContext.UpdateEntitySetMappingsForType(Type entityType) at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() at System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext() at System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider() at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate) at P2A_2018.FlightData.Init() Application frmP2AMain starting 05/20/2019 13:41:51 Loading Form Main form opened: Pilot2ATC 2018 v. 2.6.0.0_x64_R2 Navigraph - AIRAC cycle: 1801 Loading Joystick Devices - 4 devices loaded. Loading Joystick Devices - 4 devices loaded. Loading Joystick Devices - 4 devices loaded. Loading Joystick Devices - 4 devices loaded. Loading Map Control LoadMapControl: panel 1 Creating ucMap1 SQLiteVersion: 3.8.11.1 | 2015-07-29 20:00:57 cf538e2783e468bbc25e7cb2a9ee64d3e0e80b2f | INTEROP_CODEC INTEROP_EXTENSION_FUNCTIONS INTEROP_VIRTUAL_TABLE NET_40 PRELOAD_NATIVE_LIBRARY THROW_ON_DISPOSED TRACE TRACE_PRELOAD TRACE_SHARED TRACE_WARNING USE_PREPARE_V2 WINDOWS ucMap1 Created ucMap DockFill set. Setting Map Mode Done Loading Map Control Loading FPL Control FPL Control Loaded Retrieving weather from web successful at 05/20/2019 13:41:54 Retrieving TAF from web successful at 05/20/2019 13:41:55 Application frmP2AMain ended normally 05/20/2019 13:41:57 Total of 0 objects still alive. Any suggestions? regards Paul Paul Dumke
May 20, 20197 yr Commercial Member Looks like your data is not loading. You should try installing the program again and be sure you are installing to the correct folder. Dave
May 21, 20197 yr Author I have uninstalled P2ATC and SQL Server, rebooted and reinstalled but still have the same error P2ATC is run as admin Edited May 21, 20197 yr by paulnd Paul Dumke
May 22, 20197 yr Commercial Member Please email a screenshot of the error message box to [email protected] and I'll help figure out what the problem is with the database. Dave
Archived
This topic is now archived and is closed to further replies.