2
Before it was working normally.
Now I face this problem when running this code:
try
{
db.SaveChanges();
}
catch (Exception ex)
{
//erro aqui
}
Error message:
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.
Some solution?
Danilo, your answer helped me a lot, but my site is hosted in a company and can not touch its server. So I made a small tutorial, in the answer below.
– Matheus Miranda