I am trying generate a pdf using on fly memory as mentioned below.
- public static MemoryStream OutPutMObje = null;
2.OutPutMObje = new MemoryStream(bytesToWrite);
3.Aspose.Pdf.Document doc = new Aspose.Pdf.Document(OutPutMObje);
at line 3 i am getting the above error and “bytesToWrite” data is fecthed from data and this saved in DB as “varbinary” format
I had a aspose licence as well and if i use physical path no issues with this code.Currently i m using dll version 18.X
Please help on resolving the isssue