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

Free Support Forum - aspose.com

Re: Unknown file format exception while converting word to PDF for Docx

Thanks for your request. Please attach your document for testing.
Als please make sure you are using the latest versions of Aspose.Words and Aspose.Pdf. You can download the latest versions from here:
Also note, the latest version of Aspose.Words supports direct conversion to PDF (Without using Aspose.Pdf). You can try using this method in your project. Please see the following link to learn more:
Best regards.

Thanks. Problem solved.