To whom it may concern,
when opening some .docx files with Aspose.Words (latest version we tried was 23.8.0 in a C# .Net 4.5.2 Project) we receive the following error for
Aspose.Words.Document doc = new Aspose.Words.Document(myFilePath);
even though we can open the file in word without problem:
Aspose.Words.FileCorruptedException
HResult=0x80131500
Message=The document appears to be corrupted and cannot be loaded.
Source=Aspose.Words
StackTrace:
at Aspose.Words.Document.(Stream [1], LoadOptions)
at Aspose.Words.Document.[1](Stream [1], LoadOptions)
at Aspose.Words.Document..ctor(String fileName, LoadOptions loadOptions)
at Aspose.Words.Document..ctor(String fileName)
at AF.BusinessFramework.BusinessObjects.ObjectAttachmentManager.CopySingleAttachment(Int32 AttachmentOID, Int32 TargetOID, Int32 SourceOID, AAFUserInfo UserInfo, BusinessArea TargetArea, BusinessArea SourceArea, String TargetBO, Boolean CopyFile, Int32 TargetFolderID, Boolean Validated, Int32& NewAttachmentID, String& SourcePath, Boolean convertToPDF) in C:\AAFWS\Branches\ANG\AAFBusinessFramework\BusinessObjects\Support Business Objects\ObjectAttachmentManager.cs:line 601
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
ArgumentOutOfRangeException: Das angegebene Argument liegt außerhalb des gültigen Wertebereichs.
Parametername: Unknown universal measure UL
please let us know how we can best provide you an example docx file that has this problem.
Kind regards