News:

Buying something from Amazon? Please consider using my affiliate links - Amazon.com or Amazon.co.uk - You get your stuff, Plan-G gets a little boost :)   

Main Menu

right click crash (reproducable)

Started by jingle66, December 27, 2015, 11:21:44 AM

Previous topic - Next topic

jingle66

When I create a new flightplan and try to add a waypoint by right clicking in the map,
Plan G immediately crashes every time.

I'm on Windows 10 and tried both v 3.1.2 and v 3.1.3 beta

Quote12:10:05.0 AirportsInBounds 2
12:10:05.0 AirspaceInBounds 5
12:10:05.0 NdbsInBounds 1
12:10:05.0 VorsInBounds 1
12:10:05.0 WaypointsInBounds: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlServerCe.SqlCeException: Invalid provider type. [ Db version = 0,Requested version = 1,File name = \\?\C:\Users\home\Documents\Plan-G Files\Data\UserWpts3.sdf ]
   at System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr)
   at System.Data.SqlServerCe.SqlCeConnection.Open(Boolean silent)
   at System.Data.SqlServerCe.SqlCeConnection.Open()
   at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure)
   --- End of inner exception stack trace ---
   at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure)
   at System.Data.EntityClient.EntityConnection.Open()
   at System.Data.Objects.ObjectContext.EnsureConnection()
   at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Plan_G3.Data.FSData.WaypointsInBounds(Double n, Double s, Double e, Double w)
12:10:05.1 AirportsInBounds 2
12:10:05.1 AirspaceInBounds 5
12:10:05.2 Metar10Z.TXT done
12:10:05.2 DownloadCurrentMetars done
12:10:05.7 ProcessMetars done
12:10:11.1 buildContextMenu

jingle66

#1
I removed plan G files folder and did clean install.
There seems to be something going on with context menus??
Now, when I go to the Data Tools button and click on the small arrow in the lower right corner,
again Plan G crashes immediately.
Log doesn't show any errors this time.

However, I am able to add waypoints to a flightplan now, so I'm good for now.