Free Support Forum - aspose.com

End of Stream Error

The exception appears on this document during the MailMerge call.

Aspose.Asposeword.getDocument() System Exception occurred System.IO.EndOfStreamException: Unable to read beyond the end of the stream. at System.IO.__Error.EndOfFile() at System.IO.BinaryReader.FillBuffer(Int32 numBytes) at System.IO.BinaryReader.ReadUInt16() at ?.?.?(BinaryReader ?, ?& ?, Int32& ?) at ?.?.?(? ?, ? ?, BinaryReader ?) at ?.?.?(Int32 ?) at ?.?.?(Int32 ?) at ?.?.?(? ?) at ?.?.?(Int32 ?, Int32 ?) at ?.?.?() at ?.?.?(Stream ?) at Aspose.Word.Document.?(Stream ?) at Aspose.Word.Document.?(Stream ?, String ?) at Aspose.Word.Document..ctor(String fileName) at Aspose.Asposeword.getDocument(String filePath)

There does not seem to be any mergefields in the document you have provided.

I now get reports from my client that this is fixed in 3.3.3.0. We are testing locally now. Ill report back either way.