Studio 2009: Index was out of range. Must be non-negative and less than the size of the collection.
Thread poster: Popie Matsouka
Popie Matsouka
English to Greek
+ ...
Sep 3, 2011

Hello everyone,
I'm sure many of you have stumbled across this error while working with Studio 2009:
"Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"
I have just found a solution, and thought about posting it here, in case anyone needs it, for future reference.

The problem with the set of files I was working with, was that the path for the entire project structure was too long.
I opened an sdlppx package and created a folder structure as usual. Then, when I tried to create a separate package from those, to send to a colleague of mine who would be working on half the project with me, I could not create it, because I got the message "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"
Turns out, one of the paths for the project structure was too long. I don't know which one, but when I moved the entire structure to a much "shallower" folder on my computer, the entire thing worked fine.

So, for future reference, keep in mind to work with small paths, when it comes to folder structures.
I've tested it repeatedly, and found that this problem pops up even when you try to save target files, or perform an analysis, or any other task you can do with Trados, so keep it in mind that it might be because of a too long path/depth of file structure.
Hope this helps someone!


Direct link Reply with quote
 

Eduardo García Soñanes
Mexico
Local time: 07:13
English to Spanish
Thanks! Oct 3, 2012

Thanks for sharing this, Popie!

Eduardo


Direct link Reply with quote
 

Anil Gidwani  Identity Verified
India
Local time: 18:43
German to English
+ ...
Thanks Mar 15, 2016

Thanks for sharing!

Direct link Reply with quote
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Studio 2009: Index was out of range. Must be non-negative and less than the size of the collection.

Advanced search







Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

More info »
PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search