Index was out of range.

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
Xavi
Posts: 31
Joined: May 22nd, 2017, 9:42 am

Index was out of range.

Post by Xavi »

I have an application that i developed in 6.3 with its data file, when i installed the new version CS pro 7.0 , i can not access the data file with the data viewer. i get the following error message
"Index was out of range. Must be no-negative and less than the size of the collection
Parameter name: index"
How can i fix this error such that i can view the data and export it.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Index was out of range.

Post by josh »

Do you get the same error if you use the export data tool or is it just in the DataViewer? Can you post your data file or email it to cspro@lists.census.gov?
Xavi
Posts: 31
Joined: May 22nd, 2017, 9:42 am

Re: Index was out of range.

Post by Xavi »

Yes Josh, i get no output when i get export the data.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Index was out of range.

Post by josh »

Ok. Please post or send the data file.
Xavi
Posts: 31
Joined: May 22nd, 2017, 9:42 am

Re: Index was out of range.

Post by Xavi »

I have sent the data file
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Index was out of range.

Post by josh »

I didn't get it. Maybe our spam blocker doesn't like the attachment. Try sending it to csprojosh@gmail.com.
Xavi
Posts: 31
Joined: May 22nd, 2017, 9:42 am

Re: Index was out of range.

Post by Xavi »

I have sent to your email.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Index was out of range.

Post by josh »

I eventually got it at both addresses. I think the listserv was just being slow today. I sent you a fixed version of the file via email that should work. It seems like the file was created in an old beta version of CSPro 7 after which the file format was changed so the new version was unable to read it. That was a quirk with the old beta builds. Any file created in the final CSPro version 7 will be able to be read by all future versions of CSPro.
Post Reply