Document appears to be corrupted and cannot be loaded

I get the following error when trying to convert to .doc
Attached is the htm of the doc

The attached file causes the
following exception when calling:

Document doc = new Aspose.Words.Document(htmlFilename,new LoadOptions(LoadFormat.Html, string.Empty, string.Empty));

Exception:

_message "The document appears to be corrupted and cannot be loaded." string
InnerException Message "Cannot insert a node of this type at this location." string
at Aspose.Words.CompositeNode.xef23aa45e7612fdd(Node x40e458b3a58f5782, Node xff5adbb92d63bf52, Boolean x7f43f79506f73a73)
at Aspose.Words.CompositeNode.InsertAfter(Node newChild, Node refChild)
at Aspose.Words.CompositeNode.AppendChild(Node newChild)
at Aspose.Words.NodeCollection.Add(Node node)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.x2541e1f8aa715061(x6f5b1fec1466e1e4 xda5bf54deb817e37, Boolean xa59013d234619c58)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.x748696e8240b1ee3(x6f5b1fec1466e1e4 xda5bf54deb817e37, Boolean xa59013d234619c58)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.x4b9eb3fda3482750(x6f5b1fec1466e1e4 xda5bf54deb817e37, Boolean xa59013d234619c58)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.x501416f35422f0c6(x6f5b1fec1466e1e4 x1f8d1c5c9fd007cd)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.xe7b44b122fc48755(x6f5b1fec1466e1e4 xda5bf54deb817e37)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.x501416f35422f0c6(x6f5b1fec1466e1e4 x1f8d1c5c9fd007cd)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.xe7b44b122fc48755(x6f5b1fec1466e1e4 xda5bf54deb817e37)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.x501416f35422f0c6(x6f5b1fec1466e1e4 x1f8d1c5c9fd007cd)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.xe7b44b122fc48755(x6f5b1fec1466e1e4 xda5bf54deb817e37)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.x501416f35422f0c6(x6f5b1fec1466e1e4 x1f8d1c5c9fd007cd)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.xe7b44b122fc48755(x6f5b1fec1466e1e4 xda5bf54deb817e37)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.x06b0e25aa6ad68a9(Stream xcf18e5243f8d5fd3, Encoding xff3edc9aa5f0523b, DocumentBuilder xd07ce4b74c5774a7)
at x9b5b1a17490bd5f3.xc5f6f2ca0aafd220.x06b0e25aa6ad68a9(Stream xcf18e5243f8d5fd3, Encoding xff3edc9aa5f0523b, Document x6beba47238e0ade6)
at Aspose.Words.Document.x5d4db34d48fb3129(Stream xcf18e5243f8d5fd3, LoadOptions x27aceb70372bde46)

Hi Kohji,

Thanks for your inquiry. After an initial test with Aspose.Words for .NET 16.5.0, I was unable to reproduce this issue on my side. I would suggest you please upgrade to the latest version of Aspose.Words. You can download it from the following link. I hope, this helps.
https://releases.aspose.com/words/net/

Best regards,

We need this fixed in the version we currently have since upgraded is prohibitively expensive.
At the very least, if we could identify the HTML structure that is causing the error, we could excise it.

Hi Kohji,

Thanks for your inquiry. Please note that we don’t provide support for old versions of Aspose.Words and we do not provide any fixes or patches for old versions of Aspose products either. We always encourage our customers to use the latest versions of Aspose.Words (to date it’s 16.6.0) as it contains newly introduced features, enhancements and fixes for issues reported earlier. If we can help you with anything else, please feel free to ask.

Best regards,