language java 21
library
aspose-html 25.2
During conversion from mht to pdf, exception is thrown “The document appears to be corrupted and cannot be loaded.”
input file
55.zip (87.2 KB)
language java 21
library
aspose-html 25.2
During conversion from mht to pdf, exception is thrown “The document appears to be corrupted and cannot be loaded.”
input file
55.zip (87.2 KB)
The exception “The document appears to be corrupted and cannot be loaded” typically indicates that the input MHT file is not valid or is empty. In your case, it seems that the MHT document you are trying to convert may not contain any content, which is why both Aspose.Words and MS Word are unable to open it.
To resolve this issue, please ensure that you are using a valid MHT file that contains the necessary content. You can check the file by opening it in a text editor or a web browser to confirm that it is not empty and is formatted correctly.
If you continue to experience issues, consider re-exporting the MHT file from the original source or using a different MHT file to see if the problem persists.
If you need further assistance, feel free to ask!
@divine1
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-27951
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@alexey.noskov i apologise. i have changed the issue reported in apose.words to aspose.html now. i incorrectly tagged aspose-words when i should’ve tagged aspose-html
using aspose-html 25.2, During conversion from mht to pdf, exception is thrown “The document appears to be corrupted and cannot be loaded.”
using aspose-html 25.3 , output file is not generated. this message is seen - “No html part found!”
please check this issue
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): HTMLJAVA-2022
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.