Free Support Forum - aspose.com

Convert PDF to ODT OpenOffice Word Document & Avoid File Load Exception for a PDF that isn't Corrupt | C# .NET

Trying to convert a set of files from a pdf to odt. They are all saved webpages. All except one works where I get a FileLoadException: The file can not be opened. It might have unsupported format or be corrupted.

image.png (41.2 KB)

I’ve attached samples:

Samples.zip (323.2 KB)

@nielsbosma,

We also get following exception during that PDF file to ODT conversion by using Aspose.Words for .NET API:

System.IO.FileLoadException
HResult=0x80131621
Message=The file cannot be opened. It might have unsupported format or be corrupted.
Source=Aspose.Words
Inner Exception 1:
InvalidOperationException: Pdf corrupt.
Inner Exception 2:
InvalidOperationException: Can't receive the results.

We have logged this problem in our issue tracking system with ID WORDSNET-21869. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.