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.6130115955961 45.46315964949723,-75.60442852674845 45.448710068214915,-75.60399937330607 45.445398184363185,-75.61575817762736 45.44654231167773,-75.6236546009672 45.46189545894728,-75.6130115955961 45.46315964949723)))', 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/rothwell-heights/
Script Name: /index.asp