# The Feature you provided is not valid. error when trying to display shapefile

**URL:** <https://community.thinkgeo.com/t/the-feature-you-provided-is-not-valid-error-when-trying-to-display-shapefile/3271>\
**Category:** WPF\
**Created:** [August 12, 2012, 9:29pm UTC](https://community.thinkgeo.com/t/the-feature-you-provided-is-not-valid-error-when-trying-to-display-shapefile/3271 "2012-08-12T21:29:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bimal](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/b/edb3f5/32.png) [@Bimal](https://community.thinkgeo.com/u/Bimal)\
**Post date:** [August 12, 2012, 9:29pm UTC](https://community.thinkgeo.com/t/the-feature-you-provided-is-not-valid-error-when-trying-to-display-shapefile/3271/1 "2012-08-12T21:29:59Z")

</div>

Hi,&nbsp;I&nbsp;get&nbsp;the&nbsp;following&nbsp;error&nbsp;when&nbsp;I&nbsp;try&nbsp;to&nbsp;upload&nbsp;the&nbsp;shapefile&nbsp;attached.&nbsp;It&nbsp;used&nbsp;to&nbsp;work&nbsp;before&nbsp;I&nbsp;upgraded&nbsp;to&nbsp;version&nbsp;6.&nbsp;Can&nbsp;you&nbsp;please&nbsp;tell&nbsp;me&nbsp;what's&nbsp;wrong&nbsp;with&nbsp;it.&nbsp;I&nbsp;did&nbsp;some&nbsp;research&nbsp;and&nbsp;found&nbsp;that&nbsp;there&nbsp;is&nbsp;a&nbsp;MakeValid&nbsp;option.&nbsp;Can&nbsp;you&nbsp;give&nbsp;me&nbsp;an&nbsp;example&nbsp;to&nbsp;how&nbsp;this&nbsp;will&nbsp;work&nbsp;on&nbsp;my&nbsp;shapefile?

[001\_POP.zip](https://community.thinkgeo.com/uploads/default/original/1X/811f346bdf799eee9748cbec9224cbd952b741ce.zip) (205 KB)

---

<div class="post-metadata">

**Author:** ![Bimal](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/b/edb3f5/32.png) [@Bimal](https://community.thinkgeo.com/u/Bimal)\
**Post date:** [August 13, 2012, 9:02pm UTC](https://community.thinkgeo.com/t/the-feature-you-provided-is-not-valid-error-when-trying-to-display-shapefile/3271/2 "2012-08-13T21:02:35Z")

</div>

I&nbsp;downloaded&nbsp;the&nbsp;latest&nbsp;dll’s&nbsp;and&nbsp;the&nbsp;problem&nbsp;went&nbsp;away&nbsp;but&nbsp;the&nbsp;XoffsetInpixels&nbsp;and&nbsp;YoffsetInpixels&nbsp;in&nbsp;Zedgraph&nbsp;discussed&nbsp;in&nbsp;the&nbsp;link&nbsp;below&nbsp;has&nbsp;disappeared&nbsp;in&nbsp;the&nbsp;new&nbsp;dll.&nbsp;  
&nbsp;[gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/39/aft/10491/afv/topic/Default.aspx](http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/39/aft/10491/afv/topic/Default.aspx)&nbsp;

---

<div class="post-metadata">

**Author:** ![Gary2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/49beb7/32.png) [@Gary2](https://community.thinkgeo.com/u/Gary2)\
**Post date:** [September 3, 2012, 6:38pm UTC](https://community.thinkgeo.com/t/the-feature-you-provided-is-not-valid-error-when-trying-to-display-shapefile/3271/3 "2012-09-03T18:38:40Z")

</div>

Hello&nbsp;Bimal,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I’m&nbsp;glad&nbsp;it’s&nbsp;working,&nbsp;for&nbsp;your&nbsp;Zedgraph&nbsp;problem,&nbsp;if&nbsp;you&nbsp;can&nbsp;provide&nbsp;a&nbsp;sample&nbsp;to&nbsp;us,&nbsp;we&nbsp;can&nbsp;modify&nbsp;your&nbsp;code&nbsp;to&nbsp;make&nbsp;it&nbsp;work&nbsp;for&nbsp;you.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Gary
