Aspose.Words monodevelop in Linux

Hi Aspose,


I’m getting this error message when I try to load word document from stream.


Unknown file format.

Description: HTTP 500. Error processing request.


Stack Trace:

Aspose.Words.UnsupportedFileFormatException: Unknown file format.
at Aspose.Words.Document.x5d4db34d48fb3129 (System.IO.Stream xcf18e5243f8d5fd3, Aspose.Words.LoadOptions x27aceb70372bde46) [0x00000] in :0


And this is my codes:

Line 1. Stream wordStream = new MemoryStream( myWordBuffer ); // byte[] myWordBuffer
Line 2. Document doc = new Document( wordStream );

The above error raised on line2. It seems I cannot get a word document object from stream.

My development environment:
1. Monodevelop 2.4
2. Aspose.Words.dll version 11.9.0
3. OS
-Version-
Kernel : Linux 2.6.38-8-generic (i686)
Compiled : #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011
C Library : Unknown
Default C Compiler : GNU C Compiler version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
Distribution : Ubuntu 11.04

This codes were working fine with monodevelop in Windows environment.
Hi Arthur,

Thanks for your inquiry. Could you please attach your input Word document (.doc/.rtf files etc) here for testing? I will investigate the issue on my side and provide you more information.

Best regards,