Jump to content

paulnd

Error loading v2.6.0.0 R2

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Posted (edited)

I have uninstalled P2ATC and SQL Server, rebooted and reinstalled but still have the same error

P2ATC is run as admin

Edited by paulnd

Share this post


Link to post
Share on other sites

Please email a screenshot of the error message box to admin@pilot2atc.com and I'll help figure out what the problem is with the database.

Dave

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...