We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception with message " Value was either too large or too small for an Int16. "

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.


No. of occurences:5
Timestamp: 1/26/2012 10:37:11 PM
Message: HandlingInstanceID: 4a0cacf4-80d4-44f4-8739-c69b1730910e

An exception of type 'System.OverflowException' occurred and was caught.
2012-01-26 17:37:11Z
System.OverflowException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Value was either too large or too small for an Int16.
mscorlib in file: C:\WINDOWS\TEMP\IntraLinks\27a0194e-f92f-4af6-849b-6a56e2542f96.xlsx

System.Collections.ListDictionaryInternal
Int16 Parse(System.String, System.Globalization.NumberStyles, System.Globalization.NumberFormatInfo)
at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info)
at xabb58b8f2887ff8e.x657a55b51e641c6f.xa0dad36bb9e5b447(XmlTextReader xb9763b0038341e6c)
at xabb58b8f2887ff8e.x657a55b51e641c6f.xe8213fdc2df35828(XmlTextReader xb9763b0038341e6c)
at xabb58b8f2887ff8e.x657a55b51e641c6f.x06b0e25aa6ad68a9(XmlTextReader xb9763b0038341e6c)
at xabb58b8f2887ff8e.x9d49ab444acbddce.xc55b47033ea89ce9(x1f5f0dd7560ed867 xd9171314ec0b2957)
at xabb58b8f2887ff8e.x9d49ab444acbddce.xdc3c42fd35369fc3(x1f5f0dd7560ed867 xd9171314ec0b2957, SheetType x43163d22e8cd5a71, String x7d11dcd405070662)
at xabb58b8f2887ff8e.x9d49ab444acbddce.xc3266f78bb6c4216(x1f5f0dd7560ed867 xd9171314ec0b2957, String x7d11dcd405070662)
at xabb58b8f2887ff8e.x9d49ab444acbddce.x88ae89d546ee9fdf()
at xabb58b8f2887ff8e.x9d49ab444acbddce.x06b0e25aa6ad68a9()
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: 7476
Process Name: C:\PDFConvService\WOODDALE.pdfconv\instance5\Release\ILPDFConversionService.exe
Win32 Thread Id: 5192
Thread Name:
Extended Properties: Product Version - 3.0.24944.0

Hi,

Please download and try the latest version:
Aspose.Cells for .NET 7.1.1

If the problem persists, then please provide us your source xls/xlsx files. We will look into it and update you asap.