Aspose: Exception with message "End of stream reached. "

Conversion of one of the file failed while converting excel file to PDF. We are using Aspose.Cells(Ver. 7.0.2.0). Following is the exception we got. Please provide fix asap.


Code snippet:

Workbook workbook = new Workbook(sourceFilePath);
workbook.Save(destinationFilePath, Aspose.Cells.SaveFormat.Pdf);

Exception:
Timestamp: 1/20/2012 9:42:27 AM
Message: HandlingInstanceID: 8a54f617-3d62-41d6-b260-67114ad900ac

An exception of type ‘System.Exception’ occurred and was caught.
2012-01-20 04:42:27Z
System.Exception, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
End of stream reached.
Aspose.Cells in file: C:\WINDOWS\TEMP\IntraLinks\ebd3051f-8fb5-46a8-a99e-36915ee9eb96.xls

System.Collections.ListDictionaryInternal
UInt16 x4a213ee9be28278d(Byte[])
at x2e38ab1759381034.x508b33aea0611cd1.x4a213ee9be28278d(Byte[] x5cafa8d49ea71ea1)
at x2e38ab1759381034.x8b6071c5dcbbf539.xbddc206c7dafc24d(x508b33aea0611cd1 xcf18e5243f8d5fd3)
at x2e38ab1759381034.x8b6071c5dcbbf539.x2a9806f9bb2936af(x508b33aea0611cd1 xcf18e5243f8d5fd3)
at x2e38ab1759381034.x8b6071c5dcbbf539.x6b024d3b2b8f9765(MemoryStream xcf18e5243f8d5fd3)
at x2e38ab1759381034.x8b6071c5dcbbf539.x6f3d999f7a817f2d(xd8c3135513b9115b x84378c276c4cd7e2)
at Aspose.Cells.Workbook.Open(Stream stream, FileFormatType type)
at Aspose.Cells.Workbook.Open(String fileName)
at Intralinks.Common.Utilities.AsposeConverter.ConvertXlsToPdf(String sourceFilePath, String destinationFilePath) in c:\ilbuilds\pdfconv\build_trunk\CommonUtilities\AsposeConverter.cs:line 71
at Intralinks.Common.Utilities.CommonUtilities.ConvertOfficeDocsToPDF(String sourceFile, String destinationFolder, Boolean useOriginalFileName) in c:\ilbuilds\pdfconv\build_trunk\CommonUtilities\CommonUtilities.cs:line 1385









Category: Logging Exception
Priority: 1
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: WDPDPF01
Application Domain: ILPDFConversionService.exe
Process Id: 6240
Process Name: C:\PDFConvService\WOODDALE.pdfconv\instance1\Release\ILPDFConversionService.exe
Win32 Thread Id: 3776
Thread Name:
Extended Properties: Product Version - 3.0.24944.0

Hi,


Please download and try our latest version/fix: Aspose.Cells for .NET v 7.1.1.1

If you still find the issue, kindly attach your Excel file here, we will check your issue soon.

Thanks