>Now that I have enabled the Geography type field in my table, when I try to update the record from VB.NET, I get:
>
>
>Operator '<>' is not defined for type 'SqlGeography' and type 'SqlGeography'.
>
>
>However, in the update, none of the geography fields is involved. I can only update one field and I will get this error. However, if I paste the same SQL as is in SSMS, it works.
>
>Anyone has seen this one before?
Can you capture the SQL command what is send by your UPDATE using SQL Profiler?
If it's not broken, fix it until it is.
My Blog