There Is No Store Type Corresponding To The Conceptual Side Type 'geography' Of Primitive Type 'geography'
This error occurs on a pretty straightforward MVC 5 site using Entity Framework 6 in a code first implementation. Several of the models use System.Data.Entity.Spatial.DbGeography
Solution 1:
This error is a bit misleading. In our case, the connection string pointed to the database for the previous version of the site which was older than SQL2012.
The reason this occurs is because the database targeted is not capable of handling this data type. If you receive this verify that the connection string targets the correct database and that it is capable of the data type the error specifies.
Post a Comment for "There Is No Store Type Corresponding To The Conceptual Side Type 'geography' Of Primitive Type 'geography'"