Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Download PDF from an .aspx page doesn't work

  • 10 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 Fred2179

more options

My local club uses a package called "Clubessentials" and it includes a facility to view your current statement/invoice. This is usually downloaded as a PDF from a 'builder form' which I think is viewStatement.aspx.

I updated to version 65.0 just this week, and now the download doesn't work correctly. Instead of my download folder having a .PDF file, it has viewStatement.aspx. See attached screen image.

I tested it with MS Edge and it works fine, and it worked on Firefox until this update.

My local club uses a package called "Clubessentials" and it includes a facility to view your current statement/invoice. This is usually downloaded as a PDF from a 'builder form' which I think is viewStatement.aspx. I updated to version 65.0 just this week, and now the download doesn't work correctly. Instead of my download folder having a .PDF file, it has viewStatement.aspx. See attached screen image. I tested it with MS Edge and it works fine, and it worked on Firefox until this update.
已附加屏幕截图

所有回复 (10)

more options

Problem here the site is a login site and that makes diagnosis the problem harder to do. Did you ask anyone in the IT or does computer fix there about the issue?

more options

I repeat: "I tested it with MS Edge and it works fine, and it worked on Firefox until this update. " I doubt Clubessentials will be interested in helping, as (a) it's an ASP page (Microsoft package?) and (b) it works on the Edge browser.

Shouldn't be difficult to find a website that uses asp to generate PDFs?

Or - what changed in version 65 of FF ?

more options

I asked this because no one can login that site to test the problem.

more options

Westend, I appreciate you are trying to help, but this is obviously something introduced in version 65 - and there isn't a problem in MS Edge. I can't expect the Club to help debug something that works in another browser.

more options

Is only the file name and file extension wrong and does the file work when you rename the file?

You can the Network Monitor to check how the server is sending this file.

more options

The "file" that is downloaded is actually the application that is supposed to be generating the PDF. .aspx is an "active server process" program, I believe?

more options

I tried the network monitor, but FF opens a new tab in order to download the PDF and it then closes the tab again, so I don't have a chance to view the request.

more options

Well, whaddya know. I changed the file extension to .pdf and the statement shows - so it is an incorrect file extension.

Which leads to the next question - why is FF not updating the file extension when the download happens?

more options

I assumed that the file extension was wrong, that was the main reason I suggested to use the Network Monitor to inspect the HTTP response headers. It is unfortunate that the Network Monitor doesn't show the headers.

Can't you open the link in the same tab or use the Inspector to check the code to download the link?

more options

FF opens the link is a new tab and then closes it - no time to inspect the network stuff. And I am not a developer so I have no idea what the inspector is.