Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Operator not defined for type geography
Message
 
 
To
21/03/2012 10:50:30
General information
Forum:
ASP.NET
Category:
Troubleshooting
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01538901
Message ID:
01538903
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform