Unable to open a word document

Hi,

I am unable to open the word document.Please find the attached document.
I am using the code as below:

dim _srcDoc as Document 
_srcDoc = new Document(c: \GfK Example Questionnaire v12.docx)

I am getting the following error once this line is executed:
Unable to cast object of type ‘Aspose.Words.Style’ to type ‘x28925c9b27b37a46.x6c19282943d32085’.

FYI: I have converted doc file to docx format. I am able to open in doc format

Thanks
Timothy Delixus

This message was posted using Page2Forum (attachment) from Aspose.Words for .NET - Documentation

Hello
Thanks for your request. I cannot reproduce the problem on my side using the latest version of Aspose.Words. It seems you are using an old version of Aspose.Words. The latest version of Aspose.Words is 10.4.0; you can download this version from here:
https://releases.aspose.com/words/net
Could you please try using the latest version of Aspose.Words and let me know how it goes on your side.
Best regards,