I have a program which is getting an exception when I try and clone a document. For test purposes, the document is blank. The code (when stripped down) looks like
Dim doc As New Aspose.Word.Document("C:\Test.doc")
Dim styleBase As Document = doc.Clone()
Dim blobData As New System.IO.MemoryStream
styleBase.Save(blobData, SaveFormat.FormatDocument)
Dim tempDoc As Document = styleBase.Clone()
If I don't save the file to a memory stream, I don't get an exception. The error I get is "Attempted to copy a by reference attribute '1172', but the attribute does not expose the complex attribute interface.". The document is attached.