Free Support Forum - groupdocs.com

Word table to HTML conversion issue in C#

Hi,
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.
Source.zip (37.3 KB)

Exception:
System.InvalidOperationException: Stack empty

There was a similar issue:

Component is for .NET v18.10

Can you please advise me?

Kind regards

@SwdS_User,

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 - result-Source.zip (40.9 KB)

Example is attached.
Example.zip (37.9 KB)

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

@SwdS_User,

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