Free Support Forum - aspose.com

Excel Tiff conversion issue- This file's format is not supported or you don't specify a correct format

Hi Team,

We are using Aspose Framework (Aspose.cells dll version 8.5.1).
While trying to convert excel file to tiff image, below error is being thrown-
exception message - This file’s format is not supported or you don’t specify a correct format.
StackTrace - at Aspose.Cells.Workbook.Ÿ(String , LoadOptions )
at Aspose.Cells.Workbook…ctor(String file)
at OfficeDocToTIFF.Program.ExcelToTiff(String Sourcefile, String destinationpath) inC:\xyz\Program.cs:line 212

Exception is being thrown at this line of code-
var workbook = new Workbook(Sourcefile);

For other Excel we are able to convert into Tiff successfully.
Only difference we can see is the type of File is Microsoft Excel 97-2003 Worksheet.

Could you please help to fix with this issue.

Thanks.

@Sharvan,

We need your template file to evaluate your issue on our end. Please zip the file and provide us.

Also, you are using some older version of the product, so we cannot evaluate your issue using your older version on our end. We also recommend you to kindly try using our latest version/fix, e.g Aspose.Cells for .NET v20.9.x. If you still find the issue with v20.9.x, do the needful and attach your file, we will check it soon