Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Operator not defined for type geography
Message
From
21/03/2012 10:50:30
 
 
To
All
General information
Forum:
ASP.NET
Category:
Troubleshooting
Title:
Operator not defined for type geography
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:
01538901
Views:
53
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?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform