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

Free Support Forum - aspose.com

Bug Report (v5.2.0.0) : Exception 'Unknown structure of an INCLUDEPICTURE field.'

Please find a sample document attached. This document gave us the following error.

Aspose.Words Version: 5.2.0.0
Framework Version: 2.0.50727.42

Exception Message: Exception ‘Unknown structure of an INCLUDEPICTURE field.’ occurred in Aspose.Words for .NET 5.2.0.0.
For free technical support, please post this error and the file in the Aspose.Words Forums <https://forum.aspose.com/c/words/8>.
Stack Trace: at ᘮ.Ẉ.Ầ(ዸ ᘏ)
at ᘮ.Ẉ.ả(ዸ ᘏ)
at ᘮ.Ẉ.Ả(ࡌ ዕ, FieldType ኙ)
at ᘮ.὜.ὴ(Char ᪂, Int32 ៊, ࡌ ዕ, ᬵ ᙁ)
at ᘮ.὜.Ὥ(ࡌ ዕ, ᬵ ᙁ, ᾄ ὦ, Int32 ቸ, Int32 ؝)
at ᘮ.὜.Ὤ(ࣥ ᩿)
at ᘮ.὜.Ὢ(ᾞ Ὣ)
at ᘮ.὜.ὥ(ᾄ ὦ)
at ᘮ.὜.ఓ(Int32 ὤ, Int32 ؝)
at ᘮ.὜.ఓ()
at ᘮ.ᘭ.๖()
at Aspose.Words.Document.ߧ(Stream ם, String ߣ)
at Aspose.Words.Document.ߡ(Stream ם, LoadFormat ߢ, String ߣ)
at Aspose.Words.Document…ctor(String fileName, LoadFormat loadFormat, String password)
at Aspose.Words.Document…ctor(String fileName)
at NonWordDoc.Form1.Button1_Click(Object sender, EventArgs e) in

Hi
Thanks for your reporting this to us. I managed to reproduce this problem. I have created new issue #5254 in our defect database. I will notify you as soon as it is fixed.
Best regards.

The issues you have found earlier (filed as 5254) have been fixed in this update.
Problem was caused because INCLUDEPICTURE field is invalid and has no shape, added resiliency.