Free Support Forum -

Word table to HTML conversion issue in C#

I’d like to report an issue with conversion .docx to .html.

When I try to get first 7 pages or less the component works fine,
but when I try to get first 10 pages component throws an exception.

The problem seems to be with document’s “table of content”, because when I remove it component works fine even for much bigger documents.

Example .docx document is attached. (37.3 KB)

System.InvalidOperationException: Stack empty

There was a similar issue:

Component is for .NET v18.10

Can you please advise me?

Kind regards


Thank you for your inquiry.
Can you please share sample code or project using that we can reproduce this issue?

Using provided file, we can successfully generate output - (40.9 KB)

Example is attached. (37.9 KB)

I also tried Component is for .NET v18.11 with no luck.


Your reported issue CONVERSIONNET-2863 is fixed in this release.