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

Free Support Forum - aspose.com

Open document causes FileCorruptedException (Version 9.0)

Hello,

Aspose.Words (.net Version 9.0) can’t open the attached example document.

The following exception is thrown:

Aspose.Words.FileCorruptedException: The document appears to be corrupted and cannot be loaded. —> System.ArgumentOutOfRangeException: Nicht negative Zahl erforderlich.
Parametername: count
bei System.IO.BinaryReader.ReadBytes(Int32 count)
bei (BinaryReader ?, Boolean ?, Int32 ?)
bei (BinaryReader ?, Int32 ?, Int32 ?)
bei Aspose.Words.Document.?(Stream ?, LoadFormat ?, String ?)
— Ende der internen Ausnahmestapelüberwachung —
bei Aspose.Words.Document.?(Stream ?, LoadFormat ?, String ?)
bei Aspose.Words.Document.?(Stream ?, LoadFormat ?, String ?)
bei Aspose.Words.Document…ctor(String fileName, LoadFormat loadFormat, String password)
bei Aspose.Words.Document…ctor(String fileName)
bei DocumentExplorer.MainForm.OpenDocument() in C:\Program Files (x86)\Aspose\Aspose.Words\Demos\CSharp\DocumentExplorer\MainForm.cs:Zeile 592.

The document was created with MS Word 2000, it opens normal with MS Word, no problem.

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.

Best regards,

Here are some additional documents - same problem.

Hi

Thank you for additional information. We will let you know once this issue will be fixed.

Best regards,

The issues you have found earlier (filed as 16226) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.