Error message : "Index was out of range"

Hi everyone,

I'm confused because I can not open a file, I have an error message: "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index."

Does anybody understand this or had this happening too? Can anyone help?

Thanks a lot for your help!