Question

I have an application which uses Telerik OpenAccess as the ORM and which was working without any problems.

It's now returning the following error when trying to do a query based on STDistance:

Execution of 'Microsoft.SqlServer.Types.SqlGeography:STDistance(SqlGeography)' on the database server side currently not implemented.

I'm using OpenAccess 2012.3.1012. This was working fine and I was of the impression OpenAccess supported Spatial Types since 2011.1 so don't understand why it's now reporting it as unavailable.

I have upgraded the SQL Tools on my machine to SQL 2012 but the database server is running SQL 2008. I found a forum post regarding a similar problem and Microsoft.SqlServer.Types.dll version 11, but have double checked and I am using version 10.

Does anyone have any thoughts on this?

Was it helpful?

Solution 2

It is a regression in the SQL Geometry support in the product, that is already fixed. The fix will be part of the next service pack of Telerik OpenAccess ORM.

OTHER TIPS

Problem resolved. Appears to be a regression in support for SQL Geometry within the product. Telerik advise it will be fixed in the next service pack due week commencing 26th Nov.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top