Jump to content

Sign in to follow this  
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


Paul Dumke

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

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

P2ATC is run as admin

Edited by paulnd

Paul Dumke

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    50%
    $12,660.00 of $25,000.00 Donate Now
×
×
  • Create New...