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

Free Support Forum - aspose.com

Aspose PDF not displayed/generated in google Chrome?

Hi Guys,

As we are using Aspose PDF DLL to generate PDFs from an .Net application, the page is an .ASPX page and we are using Aspose PDF with version 3.3.1.0

Google chrome version i am using is :-
Version 26.0.1410.64 m
Google Chrome is up to date.

Also find attached is the screenshot which i am getting when opening this .aspx page in Google chrome, could you guys please help me out in fixing this. What steps i need to take in order to resolve this issue. As this is effecting our clients.

Regards,
Ravi

Hi Ravi,


Thanks for contacting support.

I have tested the scenario using Aspose.Pdf for .NET 8.0.0 in Visual Studio 2010 application running over Windows 7(X64) and I am unable to notice any problem when viewing PDF file in Google Chrome Version 26.0.1410.64 m. As per my observations, you are using a very old version of Aspose.Pdf for .NET 3.3.1.0, so I would suggest you to please upgrade to latest release version. We are sorry for this inconvenience.

[C#]

Aspose.Pdf.Generator.Pdf
pdf = new Aspose.Pdf.Generator.Pdf();<o:p></o:p>

Aspose.Pdf.Generator.Section sec = pdf.Sections.Add();

sec.Paragraphs.Add(new Aspose.Pdf.Generator.Text("Hello World in Chrome..."));

pdf.Save(“sample.pdf”,
Aspose.Pdf.Generator.SaveType.OpenInBrowser,Response);