Spire.XLS for .NET is a professional Excel .NET library that can be used to any type of .NET( C#, VB.NET, ASP.NET, .NET Core) application, both ASP.NET web sites and Windows Forms application.

Tue Aug 10, 2010 10:24 am

While opening an excel 2007file, i receive the following error:

Das Objekt des Typs "ba" kann nicht in Typ "Spire.Xls.Core.Spreadsheet.XlsDocumentProperty" umgewandelt werden

The error accured by the following call:

Excel.Workbook.LoadFromFile(ExcelFile, Excel.ExcelVersion.Version2007);


Here´s the stacktrace:
bei cs.a(XmlReader A_0, eb A_1)
bei cs.al(XmlReader A_0)
bei kk.l(String A_0)
bei kk.af()
bei kk.b(List`1& A_0)
bei Spire.Xls.Core.Spreadsheet.XlsWorkbook.a(Stream A_0, String A_1)
bei Spire.Xls.Core.Spreadsheet.XlsWorkbook.a(Stream A_0, String A_1, ExcelVersion A_2, ExcelParseOptions A_3)
bei Spire.Xls.Core.Spreadsheet.XlsWorkbook.a(String A_0, String A_1, ExcelVersion A_2, ExcelParseOptions A_3)
bei Spire.Xls.Core.Spreadsheet.XlsWorkbook..ctor(e5 A_0, Object A_1, String A_2, ExcelParseOptions A_3, Boolean A_4, String A_5, ExcelVersion A_6)
bei h7.a(Object A_0, String A_1, ExcelParseOptions A_2, Boolean A_3, String A_4, ExcelVersion A_5)
bei dh.a(String A_0, ExcelParseOptions A_1, Boolean A_2, String A_3, ExcelVersion A_4)
bei Spire.Xls.Workbook.LoadFromFile(String fileName, ExcelVersion version)

regs,
Oliver

HMP
 
Posts: 6
Joined: Tue Aug 10, 2010 10:19 am

Fri Aug 13, 2010 11:41 am

Hello,

Thank for reporting bug to us.
The bug has been fixed, Please download latest version
http://www.e-iceblue.com/Buy/download-excel-for-net-now.html
User avatar

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

Return to Spire.XLS