Back to forum list… Back to Issues and Problems...

Index Out of Range (11 replies)

John Walker
9 years ago
John Walker 9 years ago

Trying to set up a reader to and xls/xlsx file.  Really simple layout, 10 records and on Refresh I get 

"Index was out of range.  Must be non-negative and less than

the size of the collection.

Parameter name: index"

Support
9 years ago
Support 9 years ago

Can you add a screenshot of:

a. The Excel Reader

b. The Excel sheet

Thanks

John Walker
9 years ago
John Walker 9 years ago

Here is the Reader:

https://gyazo.com/1b443119e288a0a14390861e379be67a

Spreadsheet:

https://gyazo.com/3660e0ae7e8d0d780080161147cab9dc

I'll add the Excel sheet

Thanks

Support
9 years ago
Support 9 years ago

John, alter the worksheet id from 1 to 0....the worksheet ids are zero based.

John Walker
9 years ago
John Walker 9 years ago

OK I did that and the error message is gone.  However, each time I re-open the Worksheet ID defaults back to 1.  Also, should I see records in the Preview window?

John Walker
9 years ago
John Walker 9 years ago

OK I was wrong on the default.  It does retain 0.  However, still no records

Support
9 years ago
Support 9 years ago

John, it's likely you need to add them manually (after the worksheet issue).

Simply...

  1. Go to Field Mapping tab.
  2. Press edit (pencil) on the grid.
  3. Select Import for each of the fields...and move through each field page.
  4. Press the Green tick to save.

Preview and presto!

Support
9 years ago
Support 9 years ago

Screenshot.

https://www.realisable.co.uk/wp-content/uploads/2016/02/EditGrid.png
John Walker
9 years ago
John Walker 9 years ago

I checked and the Import check box was already set to True.  So then deleted the transformation and started again, still no records. Field 14 say SYS.INPUTFILE does that matter? I noticed the screen says "Apply" not "Save" so am I missing something

Chrome is my browser is that OK?

https://gyazo.com/948879c24577415b5d4839ebacfb2224

https://gyazo.com/e0b7aaff67d4d9ed9c7bea55074d4fbf

John Walker
9 years ago
John Walker 9 years ago

I opened some of the other transformations e.g. SAMS200INVIMP - ... and have no records there either.

John Walker
9 years ago
John Walker 9 years ago

OK.  Some good news.  I started from scratch, checked all the Pre-requisites and set-up and my Excel Reader now returns records in Preview.  So no idea what has changed.

Contact

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Request Demo

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Access Downloads

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close