# Can not find the geometry column

**URL:** <https://community.thinkgeo.com/t/can-not-find-the-geometry-column/1251>\
**Category:** WinForms\
**Created:** [May 25, 2010, 11:37am UTC](https://community.thinkgeo.com/t/can-not-find-the-geometry-column/1251 "2010-05-25T11:37:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter6](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/p/e5b9ba/32.png) [@Peter6](https://community.thinkgeo.com/u/Peter6)\
**Post date:** [May 25, 2010, 11:37am UTC](https://community.thinkgeo.com/t/can-not-find-the-geometry-column/1251/1 "2010-05-25T11:37:04Z")

</div>

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

I&nbsp;get&nbsp;it&nbsp;when&nbsp;I&nbsp;try&nbsp;to&nbsp;open&nbsp;the&nbsp;MsSql2008FeatureLayer.

sql2008Layer.Open();

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

I'm&nbsp;using&nbsp;the&nbsp;4.0&nbsp;libraries.

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [May 25, 2010, 8:00pm UTC](https://community.thinkgeo.com/t/can-not-find-the-geometry-column/1251/2 "2010-05-25T20:00:35Z")

</div>

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