I am trying to store some simple rectangle polygons in a geography field, but I keep getting the following error:
System.ArgumentException: 24200: The specified input does not represent a valid geography instance.
Could someone please tell me what is wrong with this WKT?
SELECT geography::STGeomFromText('POLYGON((
-119.76326468248 39.441673758198,
-119.76219319366 39.441673758198,
-119.76219319366 39.440559409825,
-119.76326468248 39.440559409825,
-119.76326468248 39.441673758198))', 4326)