Hi. -- I have a vb.net app (VS 2008) that is getting an exception when it
tries to open an existing file.
Dim xls As New XlsDocument(filename)
System.ArgumentOutOfRangeException was caught
Message="Specified argument was out of the range of valid values.
Parameter name: offset 1484800 + getLength 512 = 1485312 must be < Length
1485199"
ParamName="offset 1484800 + getLength 512 = 1485312 must be < Length
1485199"
Source="MyXls.SL2"
StackTrace:
at org.in2bits.MyXls.ByteUtil.Bytes.Get(Int32 offset, Int32
getLength, Bytes intoBytes)
at org.in2bits.MyXls.ByteUtil.Bytes.Get(Int32 offset, Int32
getLength)
at org.in2bits.MyOle2.Ole2Document.GetSectorBytes(Bytes fromStream,
Int32 sectorSize, Int32 sid)
at org.in2bits.MyOle2.Ole2Document.GetStream(Stream
fromDocumentStream, Int32 did, Dictionary`2 dir, UInt16 sectorSize, Int32[]
sat, UInt16 shortSectorSize, Int32[] ssat, UInt32 minStandardStreamSize)
at org.in2bits.MyOle2.Ole2Document.Load(Stream stream)
at org.in2bits.MyXls.XlsDocument..ctor(String fileName,
BytesReadCallback workbookBytesReadCallback)
at org.in2bits.MyXls.XlsDocument..ctor(String fileName)
at SalesActivity.Module1.Main() in
C:\VS08\Instawares08\SaleActivity\SalesActivity\Module1.vb:line 45
InnerException:
Any ideas??
Thanks!!
Nobody/Anonymous
Read .XLS
None
Public
|
Date: 2009-09-26 18:16 I am closing this unless/until there is a repro case (file) provided. |
|
Date: 2009-09-24 05:21 This particular problem will be impossible to track down without a file |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2009-09-26 18:17 | manmoth |
| resolution_id | None | 2009-09-26 18:17 | manmoth |
| close_date | - | 2009-09-26 18:17 | manmoth |
| priority | 5 | 2009-09-24 05:21 | manmoth |