After upgrading to 11 (from the latest 10.x), any save operation on a .doc file (.docx is fine) gets an exception thrown saying:
unknown built in property encountered
When is this going to be fixed?
Thanks,
Andy.
Hi
Hi,Turns out it fails afer we call a funciton taht copies over Properties (DOC files only, the same code works fine on DOCX files). We got this from Aspose and I've attached the code snippet.
We call this as follows:
Using blobStream As New System.IO.MemoryStream(MiscFile.MiscFileData)
Dim templateDoc As New Aspose.Words.Document(blobStream)
templateDoc.RemoveAllChildren()
templateDoc.RemoveMacros()
If preserveOriginalStyles Then
templateDoc.AppendDocument(srcDoc, Aspose.Words.ImportFormatMode.KeepSourceFormatting)
Else
templateDoc.AppendDocument(srcDoc, Aspose.Words.ImportFormatMode.UseDestinationStyles)
End If
CopyObjectProperties(srcDoc.BuiltInDocumentProperties, templateDoc.BuiltInDocumentProperties)
End Using
This same code work in previous releases.
Thanks,
Andy.
Hi,
Hi,
There is no special file here - ANY DOC file will have the problem.
Thanks,
Andy.
Hi Andy,