We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Nested table - Error message when opening the generated document

Thread ID:





100478 Aug 10,2011 01:45 PM UTC Aug 11,2011 11:57 AM UTC ASP.NET MVC (Classic) 3
Tags: DocIO
Markus Odebrecht
Asked On August 10, 2011 01:45 PM UTC

Hello dear support,

I tried the following example:


but everytime i open the generated document I get an error message, telling me the document is broken.

Even short test snippets, such as the following, create this error, as soon as I try to create nested tables.

Im using Win 7 64bit and Word 2010.


IWordDocument document = new WordDocument();
IWSection section = document.AddSection();
IWTable table = section.AddTable();
RowFormat format = new RowFormat();

// Inserting table with a row and a column.
table.ResetCells(1, 1);

// Insert an inner Table in Column 1, Row 1
IWTable innerTable = table[0, 0].AddTable();

// Inner Table gets 2 Fields
innerTable.ResetCells(2, 1);

//Fill field
IWParagraph par = innerTable[0, 0].AddParagraph();
par.AppendText("Test inner 0,0");

//Fill field
par = innerTable[1, 0].AddParagraph();
par.AppendText("Test inner 1,0");

What I'am doing wrong?

Markus Odebrecht
Replied On August 10, 2011 01:58 PM UTC

This only happens if i open the files in with the .doc format

Markus Odebrecht
Replied On August 10, 2011 02:08 PM UTC

And only with Word 2010.

Poornima R [Syncfusion]
Replied On August 11, 2011 11:57 AM UTC

Hi Markus,

Thank you for your interest in Syncfusion Products.

The mentioned “Table corruption” issue has been already fixed from our version Please try upgrading to our latest version that is rolled out and available for download under the below location and let us know whether the issue is resolved.


Please let us know if you have any questions.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon