"Failed - Server proble​m" when trying to save a PDF in preview in Google Chrome

I a previewing a PDF using the built-in PDF viewer in Chrome:

Image showing downloading of PDF failing with an error message stating "Failed - Server problem"

When I try to save it on my disk, I get a "Failed - Server problem" error message. How is that possible? I thought the PDF had been entirely downloaded before it got opened in Google Chrome built-in PDF viewer.

(If it matters, the PDF was linked from this page.)

5

3 Answers

I've encountered this issue because Chrome requires that a url pointing to a pdf ends with the appropriate file extension.

can display a pdf file, but the download will fail with the message "Failed - Server problem". In order to be able to display and download, you would need to have the url .

I often encounter this problem and have found the following workarounds: 1) Instead of downloading the PDF directly, choose Print and then "Save as PDF" 2) Use Firefox

I also had this problem downloading a PDF in a Chrome PDF Viewer The Viewer open a PDF from a filestream or byte array. I solved it by adding the length to the Header

Response.BinaryWrite(buffer);
Response.AppendHeader("Content-Length", buffer.LongLength.ToString());

Please note - Internet Explore worked just fine! Hope this helps

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like