Free Support Forum - aspose.com

Error Open Excel-File

Hello

We have an error, when we try to open an specific excel-file:

System.IndexOutOfRangeException: Index was outside the bounds of the array. at Aspose.Cells.RW.x8b6071c5dcbbf539.xc7ae948839a978fd(x508b33aea0611cd1 xcf18e5243f8d5fd3) at Aspose.Cells.RW.x8b6071c5dcbbf539.xbddc206c7dafc24d(x508b33aea0611cd1 xcf18e5243f8d5fd3) at Aspose.Cells.RW.x8b6071c5dcbbf539.x2a9806f9bb2936af(x508b33aea0611cd1 xcf18e5243f8d5fd3) at Aspose.Cells.RW.x8b6071c5dcbbf539.x6b024d3b2b8f9765(MemoryStream xcf18e5243f8d5fd3) at Aspose.Cells.RW.x8b6071c5dcbbf539.x6f3d999f7a817f2d(xd8c3135513b9115b x84378c276c4cd7e2) at Aspose.Cells.RW.x8b6071c5dcbbf539.x06b0e25aa6ad68a9(Stream xcf18e5243f8d5fd3) at Aspose.Cells.Workbook.Open(Stream stream)

We work with the newest version of aspose.cells. The same error occurs also when we try to open from a file.

It's not possible to post the file to the forum (costumer data). If you need the file, please send me an e-mail.

Thanks for your reply.

Regards Daniel Studer

Hi Daniel,

Thanks for considering Aspose.

Which version you are using? Well, you may post your excel file @: nanjing@aspose.com as we always take ultimate care of our client's data or you may post your excel file here as an attachment eliminating the confidential data and replacing with some dummy data for your satisfaction. And for your info, a user's attachments can only be downloaded by the particular user ( which has posted the attachment) and Aspose staff members. No other user can do this.

So choosing any option, you may post your file to show the issue. After getting your file, we will check to figure it out ASAP.

Thank you.

Hi Daniel,

Please try this fix.

Hi Warren

I think it works. I have a second Application on the productive System. The Application works with ASPOSE Cells 4.4.0.5. I cant update/recompile and install the Application at the moment. Now i have a Problem, because Assembly Redirecting does not work (not the same publicKeyToken for the new Version).

The Web.config:




Do you have any idea how i can make a redirection or is there a chance to become a Version with the same publickeyToken.

Sorry for my bad english.

Daniel

Hi Daniel,

Aspose.Cells is a strong named assembly so I think you have to rebuild your application.