Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for considering Aspose.
Well, If we use your template file and execute your code, we get the same error message as you mentioned, But by just resaving your template file in MS Excel and testing it with your provided sample application, it works fine. Did you generated this template file using Aspose.Cells? If yes, please share your code and we will look into it and also your provided template file to figure out the issue. Also, now Aspose.Cells provides direct conversion of Excel files to PDF (without converting to XML and using Aspose.PDF APIs), please see the following sample code in this regard,
//Instantiate the Workbook object
Workbook myWorkbook = new Workbook();
//Open the workbook
//Save the document in PDF format
Thank You & Best Regards,