Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Tue Mar 11, 2008 9:54 am

Hello,

I try to open one excel document (I can't send it because it contains confidental data, sorry...) by Workbook.LoadFromFile() and get the following exception. Do you have any suggestions what might go wrong here?

Kind regards,
Thorsten




Message:
"Data format error. String and array do not fit each other au."

StackTrace:
bei ev.a(Int32 A_0, Int32 A_1, Int32& A_2, Boolean A_3)
bei ev.a(Int32 A_0, Int32 A_1, Int32& A_2)
bei ev.b(Int32 A_0, Int32 A_1)
bei ev.a(nu A_0)
bei ev.a4()
bei j0.a()
bei ev.a(Byte[] A_0, Int32 A_1, Int32 A_2)
bei e4.a(BinaryReader A_0, Byte[] A_1)
bei a5.a(oq A_0, BinaryReader A_1, Byte[] A_2)
bei a5.a(BinaryReader A_0, Byte[] A_1)
bei gm.c()
bei Spire.Xls.Core.Spreadsheet.XlsWorkbook.b(gm A_0, ExcelParseOptions A_1)
bei Spire.Xls.Core.Spreadsheet.XlsWorkbook..ctor(d5 A_0, Object A_1, String A_2, ExcelParseOptions A_3, Boolean A_4)
bei Spire.Xls.Core.Spreadsheet.XlsWorkbook..ctor(d5 A_0, Object A_1, String A_2, ExcelParseOptions A_3)
bei Spire.Xls.Core.Spreadsheet.XlsWorkbook..ctor(d5 A_0, Object A_1, String A_2)
bei gy.a(Object A_0, String A_1)
bei cl.a(Object A_0, String A_1)
bei cw.b(String A_0)
bei Spire.Xls.Workbook.LoadFromFile(String fileName)
bei ExcelTest.Program.Main(String[] args) in E:\Projekte\Tests\VS2005\ExcelWorkbookTest\ExcelTest\ExcelTest\Program.cs:Zeile 76.

TKleinhenz
 
Posts: 1
Joined: Tue Mar 11, 2008 9:39 am

Thu Mar 13, 2008 2:51 pm

Sorry for inconvenience .
We will try to solve the problem.
User avatar

Flash
 
Posts: 56
Joined: Thu Jun 29, 2006 2:34 pm

Return to Spire.XLS