ThinkGeo.com    |     Documentation    |     Premium Support

Can not find the geometry column

What would cause a "Can not find the geometry column. " exception?


I get it when I try to open the MsSql2008FeatureLayer.



sql2008Layer.Open();



I verified that my SQL Server 2008 table does have a geometry column.  I thought at first it was the spatial index but removing it doesn't help.


I'm using the 4.0 libraries.



Peter, 
  
 Thanks for your post and questions. 
  
 How did you create your table? Did you import data using the followign tool Shape2Sql.exe?See more details in following post. 
 gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/21/aft/4903/afv/topic/afpgj/1/Default.aspx#8960 
  
 Any more questions just feel free to let me know. 
  
 Thanks. 
  
 Yale