I\'m trying to make a webapi in ASP.NET MVC 4. The webapi used Entity Framework 5 Spatial types and i have wrote a very simple code.
public List
None of the above solutions worked me.
You know what, this error can also be due to low resources on the server. I restarted SQL server and it got resolved automatically.