# Index Problem

**URL:** <https://community.thinkgeo.com/t/index-problem/918>\
**Category:** WinForms\
**Created:** [December 15, 2009, 5:09am UTC](https://community.thinkgeo.com/t/index-problem/918 "2009-12-15T05:09:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![felice\_pescatore](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/f/e79b87/32.png) [@felice\_pescatore](https://community.thinkgeo.com/u/felice_pescatore)\
**Post date:** [December 15, 2009, 5:09am UTC](https://community.thinkgeo.com/t/index-problem/918/1 "2009-12-15T05:09:43Z")

</div>

Hi,&nbsp;i'm&nbsp;trying&nbsp;to&nbsp;create&nbsp;index&nbsp;files&nbsp;for&nbsp;load&nbsp;my&nbsp;shape&nbsp;but&nbsp;with

﻿﻿ **ShapeFileFeatureSource**.BuildIndexFile

but&nbsp;i&nbsp;obtain&nbsp;ever&nbsp;an&nbsp;error&nbsp;of&nbsp;"invalid&nbsp;index&nbsp;file".

Any&nbsp;Suggest?

For&nbsp;download&nbsp;my&nbsp;map:&nbsp;[felicepescatore.it/map.zip](http://www.felicepescatore.it/map.zip)

&nbsp;

---

<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:** [December 15, 2009, 6:42pm UTC](https://community.thinkgeo.com/t/index-problem/918/2 "2009-12-15T18:42:20Z")

</div>

Felice,

Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;question.&nbsp;Welcome&nbsp;you&nbsp;to&nbsp;ThinkGeo&nbsp;Desktop&nbsp;Discussion&nbsp;forum.  
&nbsp;  
If&nbsp;I&nbsp;am&nbsp;not&nbsp;making&nbsp;any&nbsp;mistake,&nbsp;your&nbsp;data&nbsp;is&nbsp;from&nbsp;MapSuite2.x&nbsp;version&nbsp;data,&nbsp;while&nbsp;I&nbsp;am&nbsp;sorry&nbsp;to&nbsp;say&nbsp;that&nbsp;the&nbsp;Index&nbsp;files&nbsp;are&nbsp;not&nbsp;compatible&nbsp;between&nbsp;Map&nbsp;Suite&nbsp;2.x&nbsp;version&nbsp;and&nbsp;Map&nbsp;Suite&nbsp;3.x&nbsp;version.  
&nbsp;  
So&nbsp;only&nbsp;you&nbsp;need&nbsp;to&nbsp;do&nbsp;is&nbsp;to&nbsp;delete&nbsp;the&nbsp;file&nbsp;“Pro.idx”&nbsp;manually&nbsp;or&nbsp;by&nbsp;code&nbsp;before&nbsp;calling&nbsp;the&nbsp;BuildIndexFile&nbsp;to&nbsp;build&nbsp;Index.  
&nbsp;  
&nbsp;  
Please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know&nbsp;any&nbsp;more&nbsp;questions.  
&nbsp;  
Thanks.  
&nbsp;  
Yale
