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

Free Support Forum - aspose.com

PDF Created using Aspose.Words is not opening in browser

I have a couple of pdf created using Aspose.Words and concatenated using Aspose.PDF and save to Sharepoint Document Library. But whne I try to open the pdf it is not opening in browser.If I save to disk and open it it is fine.

doc.Save(memoryStreamout1, Aspose.Words.SaveFormat.Pdf);
doc.Save(memoryStreamout2, Aspose.Words.SaveFormat.Pdf);
Stream[] pdfStreams = new Stream[2]; 
pdfStreams[0] = new MemoryStream(memoryStreamout1.ToArray());
pdfStreams[0] = new MemoryStream(memoryStreamout2.ToArray());
pdfEditor.Concatenate(pdfStreams, finalpdfStream);

I am saveing finalpdfstream into sharepoint library. Creation and concatenation and saving no issues.
But not opening in Browser
Any thoughts?
Thanks,
Siva Gaddipati

Hi Siva,
Can you please share which browser and which version are you using? You can also try the following tips from Adobe.
http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html
http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html
http://www.captechconsulting.com/blog/brandon-atkinson/allowing-pdfs-open-browser-sharepoint-2010-the-right-way
Best Regards,