We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Stackoverflowexception in mscorlib.dll while using Aspose.Word.Viewer

Hello together!

I tried to preview a Microsoft Word Document with the Aspose.Word.Viewer and the "GetPages()" method´to produce a bitmap. The doc is a Word-self-generated document which contains a table of all keyboard shortcuts of Word 2003. The document seems to have one table extending over 9 pages. On calling the Getpages() method my application hangs, the computer starts to work hard and after a while I get a StackoverflowException in mscorlib.dll.

Any idea what went wrong and how I could prevent this by analyzing the doc in advance?

Thanks a lot



As described here, Aspose.Words.Viewer is at the beta stage yet and we do not improve the existing codebase. Instead, we are working on a different module that will be published somewhere in 2007. Thank you for understanding.

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

We are happy to tell you that the new Rendering Engine has replaced the “old Viewer Beta”. The Rendering Engine can print, save as images or draw onto .NET Graphics object any document page.

Please see Aspose.Words documentation to learn more about new features.

SaveToImage method renders document pages into images:


In additional, new Rendering engine allows you to convert Word document to PDF directly (without using Aspose.Pdf).

SaveToPdf method converts the whole document or selected pages to PDF.


The latest version of Aspose.Words is available for download from here:


Best regards,