Andrew Bancroft 3/27/2017

Solving ‘Spatial types and functions are not available’ with Entity Framework

Read Original

This article provides a step-by-step guide to resolving the runtime exception 'Spatial types and functions are not available for this provider because the assembly Microsoft.SqlServer.Types version 10 or higher could not be found' when using SQL Server geospatial features with Entity Framework in an ASP.NET application. It covers installing the Microsoft.SqlServer.Types NuGet package, following readme.htm instructions for ASP.Net web apps, websites, or desktop apps, and configuring Entity Framework to use the correct assembly version. The author consolidates information from Stack Overflow to offer a complete solution for deployment issues.

Solving ‘Spatial types and functions are not available’ with Entity Framework

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet