err#-2147217900
err desc:Could not find method 'stgeomfromtext' for type 'Microsoft.SqlServer.Types.SqlGeometry' in assembly 'Microsoft.SqlServer.Types'
sql:select id from propertiesfreeholdandcondos with (nolock) where board in(125, 76) and 1=1 and lattlongchecked = 1 and latitude is not null and longitude is not null and ( geometry::stgeomfromtext('multipolygon(((-75.6169395444158 45.432394729210685,-75.62449264500174 45.44708935463761,-75.63934135410818 45.44371715602838,-75.63238906834158 45.43311750518609,-75.62698173496756 45.42829882383874,-75.6169395444158 45.432394729210685)))', 4326).stintersects(geometry::stgeomfromtext('point(' + cast(longitude as varchar(20)) + ' ' + cast(latitude as varchar(20)) + ')', 4326))=1) and status='a' and idx_approved=1
Query String: PageAction=ViewSubCat&URL=/communities/beacon-hill-cyrville/carson-meadows-rockliffe-mews/
Script Name: /index.asp