The file's format is not supported or you don't specify a correct format


#1

Hi,

We are getting The file’s format is not supported or you don’t specify a correct format exception from aspose.cells API while creating a workbook…

// code snippet//

var workbook=New workbook(sourcePath)
{
Settings={
Compliance = OoxmlCompliance.Iso29500_2008_Strict
}
};

Regards,
Kiran


#2

@ITCUser,

Thanks for your query.

Please share your sample file with us for our testing. We will reproduce the problem and provide our feedback after analysis. You may ZIP the file and upload here and if you face any problem, please upload it to some online file sharing server like Dropbox/Google Drive etc. and paste the link here for downloading the file.