I’m trying to convert DOC to XPS, but with one of my documents I’m getting a stack overflow: “An unhandled exception of type ‘System.StackOverflowException’ occurred in Aspose.Words.dll”
This is a farily large one – 7MB long, 354 pages, 188853 words, with lots of tables and internal links.
Code to reproduce:
Aspose.Words.Document doc = new Aspose.Words.Document(@“c:\filename.doc”);
doc.SaveToXps(@“c:\filename.xps”);
SaveToPdf has the same problem, although we don’t plan to use that feature.
I can send you the sample document via private email.
Thanks,
Tamas Demjen