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

Free Support Forum - aspose.com

Aspose.Words cannot open valid (?) document

Hello,

I can open the document with Word, but when trying to open it using Aspose I get the following exception:

Cannot find target of relationship http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument

Would it be possible to make a fix so such documents can be opened using Aspose?

The code I am using is:

Dim AsposeDocument As New Aspose.Words.Document(documentPath)

Hi Olexandr,

Thanks for your inquiry. After an initial test with Aspose.Words for .NET 14.6.0, I was unable to reproduce this exception on my side. I would suggest you please upgrade to the latest version of Aspose.Words. You can download it from the following link. I hope, this helps.

https://downloads.aspose.com/words/net

I hope, this helps.

Best regards,

I have applied the latets version and if fixed the issue.

Thank you!

Olexandr