Received a client file today that caused an issue with the Aspose.Cells dll. When trying to load the file in memory, it gives the appearance of "hanging up". Poor choice of words but the call doesn't error out and doesn't continue on. The Spreadsheet that is being loaded has a title row and 39 rows of data but also contains a summary cell at D:1048576. Clearly the spreadsheet was configured incorrectly from the client but the code I used is contained in a service and causes the service to hang up processing the file. Is there something that can be done to throw an error? I've included the code, highlighted the line where the problem occurs and included a copy of the input file. The version of the dll used is 184.108.40.206 but I downloaded an tested it against 220.127.116.11 with the same results.
FileInfo file = new FileInfo(attachment);
Aspose.Cells.Workbook oWB = new Workbook(attachment);
Aspose.Cells.Rendering.ImageOrPrintOptions options = new Aspose.Cells.Rendering.ImageOrPrintOptions();
options.HorizontalResolution = 360;
options.VerticalResolution = 300;
options.TiffCompression = Aspose.Cells.Rendering.TiffCompression.CompressionCCITT4;
//options.IsImageFitToPage = true;
options.ImageFormat = System.Drawing.Imaging.ImageFormat.Tiff;
options.PrintingPage = PrintingPageType.Default;
Aspose.Cells.Rendering.WorkbookRender bookRender = new Aspose.Cells.Rendering.WorkbookRender(oWB, options);
//Create a memory stream object.
MemoryStream memorystream = new MemoryStream();
byte data = memorystream.ToArray();