Specified method not supported

Within my Xamarin android app when using DocIO to read a file I get the error System.NotSupportedException: Specified method is not supported.
using Syncfusion.Compression.portable Syncfusion.DocIO.Portable

code used

WordDocument doc = new WordDocument();
doc.Open(inputStream, FormatType.Doc);//this is where the error occurs

I have tried many documents including syncfusion's own docs including the WordtoHTML.doc
the code works perfectly in the uwp and ios versions of the app.
Any insight in resolving this would be greatly appreciated.

3 Replies

RH Ramanan  Hariharasubramanian Syncfusion Team October 17, 2017 04:43 PM UTC

Hi Shaun,

Thank you for contacting Syncfusion support.

we are unable to reproduce the reported issue. We have shared the sample which was used at our side to reproduce the issue, for your reference. The sample can be downloaded from the following link.

Sample link:
http://www.syncfusion.com/downloads/support/forum/133236/ze/XamarinAndriod1265501828

We have also prepared a video illustration for your reference which can be downloaded from following link.

Video link:
http://www.syncfusion.com/downloads/support/forum/133236/ze/Xamarin-871298537

Kindly share us the modified issue reproducing sample or input document which will be helpful for us to provide you a prompt solution at the earliest.

Please let us know if you have any concerns.

Regards,
Ramanan H
 



SM smv October 19, 2017 11:24 PM UTC

I've solved the issue. I was using the wrong stream type I did not realize I needed to use a memorystream. to solve this I converted the streams I was receiving into MemoryStream.



RH Ramanan  Hariharasubramanian Syncfusion Team October 20, 2017 05:21 AM UTC

Hi Shaun,

We are glad to know that the reported issue has been resolved at your end. Please let us know if you need any further assistance on this and we will be happy to assist you as always.

Regards,
Ramanan H


Loader.
Up arrow icon