I'm creating a document on the fly. It has nested tables (master / two detail sections). The document successfully saves to PDF with small datasets (less then 100 rows at the master level). My worst case document has 3,400 master rows and about 10,000 rows between two detail sections. The application uses one master word template and each detail section is a word document as well. As the master document is populated and a detail section is encountered, the detail word doc is populated and inserted into the master word doc.
When I try to save to PDF, I get a stackoverflow exception. I am able to save the document to Word and open it.
I'm using Aspose.Words 8.0 and issuing doc.Save with a .PDF file name. I have attached the generated word doc as well as the templates I'm using in my application.