"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:

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

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

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest