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

Free Support Forum - aspose.com

Throwing exceptions when saving XLSX to TIFF

Hi Aspose,

The following code throws exception:

  • The type initializer for ’ ? ’ threw an exception
  • Font ‘?’ cannot be found

Workbook workbook = new Workbook(input);
workbook.Save(output, Aspose.Cells.SaveFormat.TIFF);

I’m using Aspose.Cells .NET 17.5

Please help me check these samples. Be careful, they may be virus.
samples.zip (213.2 KB)

Thank you,
Dung H. Nguyen

@dunghnguyen,

Thanks for the template files, sample code and details.

Please try our latest version/fix: Aspose.Cells for .NET (Download | NuGet).

I have tested by converting all your three files to TIFF file format and it works fine with it.

Thank you.

Thank you, @Amjad_Sahi.
It works well. :grinning:

@dunghnguyen,

Good to know that your issue is sorted out by the latest version/fix. Feel free to write us back if you need further help or have some other issue, we will be happy to assist you soon.

Thank you.