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

Free Support Forum - aspose.com

Unable to cast object of type 'Aspose.Words.Paragraph' to type 'Aspose.Words.Row'

I’m using Aspose to fill in bookmarks for word documents.
moa_doc = New Aspose.Words.Document(Template)
But when I create the document I get the following error “Unable to cast object of type ‘Aspose.Words.Paragraph’ to type ‘Aspose.Words.Row’.”
It works fine with all my Templates except for this one (see file attached)

Thanks for your request. I tried to open your document using the latest version of Aspose.Words (v5.2.1) and it seems that all works fine. Please try using Aspose.Words v5.2.1. You can download this version from here.
Best regards,