Free Support Forum - aspose.com

Error while reading file

Error on file: readError.doc

Name: Aspose.Words.PleaseReportException
Message: Unexpected table state at the end of the cell. For free technical support, please post this error and the file in the Aspose.Words Forums http://www.aspose.com/forums/ShowForum.aspx?ForumID=75.

I'm parsing a lot of files with a similar format that fails.

Please check the attached file, and let me know how to handle this bug.


I have not experienced any problems openning and also saving this file to different formats.

Please send us the code snippet sufficient to reproduce the error.

Also, please report what version of Aspose.Words are you using.

The following code causes the exception:

Aspose.Words.Document _document = new Aspose.Words.Document(fileName);

Where the file name is the full path file I've attached on the last post.

Version:

v1.1.4322

The file opens correctly using the latest version of Aspose.Words (3.5.3).

Please download the latest version.

Thanks, I've changed the version and it works great.

Now I'm parsing 5000 documents and the only failures are

Name: System.NotSupportedException
Message: Sorry, this document is in pre-Word97 format and it is not currently supported.

and

Error on file: Z:\PJData\Resume\2249.doc

Name: System.NotSupportedException
Message: The file is in RTF format and importing RTF files is not yet supported.

But I can live with this errors.

Thanks for the quick response.