ProviderIncompatibleException: The provider did not return a DbSpatialServices instance.
I am using EF5 and sql express local db with spatial data.
I can run the unit tests in my project but not in LINQPad version 4.42.15
I have imported this to namespaces:
System.Data.Entity
System.Data.Spatial
Can anyone help?
I can run the unit tests in my project but not in LINQPad version 4.42.15
I have imported this to namespaces:
System.Data.Entity
System.Data.Spatial
Can anyone help?
Comments
Anyone found a solution?
Thanks!
Joe
Here is the stack trace:
If the query returns a not null DbGrography property I'm now getting "InvalidProgramException: Common Language Runtime detected an invalid program"
Stacktrace:
at LINQPadSqlOrCEProviderServices45.GetDbSpatialDataReader(DbDataReader , String)
at System.Data.Common.DbProviderServices.GetSpatialDataReader(DbDataReader fromReader, String manifestToken)
http://www.linqpad.net/beta.aspx
Let me know how you get on.
The latest version is working fine now as far as I can see so far! Thank you very much!
I have one more suggestion for an improvement: We store not only points but also polygons and multipolygons in our DbGeography colums. The polygons typically contain a lot of individual points (1,000 - 20,000) which makes the results hard to read. A setting that displays the contents of such a cell in the results truncated (to let's say 2000 characters) would help us significantly. This could also make sense for other cells.
Thanks again! Max
1. Edit | Preferences | Advanced - maximum column width in lists
2. Click 'Results to Grids' before running the query - you'll then get resizable columns
https://github.com/Glimpse/Glimpse/issues/371