KBA-01045: When I try to print a report, I get a “page cannot be found” error. Why?

Question:

In Spitfire, I can click on a Spitfire report and the Report Parameters are displayed, but the report doesn‘t print and I get a page cannot be found error (HTTP 404 – File not found). Why?

Answer:

Since the Spitfire reports are showing on the menu and you can see the Report Parameters section of the report, the most likely problem is that your website isn‘t set up properly to handle the .pdf extension.

To configure your sfPMS application for .PDF files:

  1. In Internet Information Services, locate the Virtual Directory created for your Spitfire application.
  2. Right-click to open the context menu.
  3. Choose Properties.
  4. Click the Configuration button.
  5. In the Application Configuration dialog, select the Mappings tab.
  6. Select .aspx and click Edit.
  7. Copy the contents of the Executable field.
  8. Click Cancel to close the Add/Edit Application Extension Mapping dialog.
  9. Click Add.
  10. In the Executable field, paste the info you copied from .aspx.
  11. In Verbs, select All Verbs.
  12. Select Script engine.
  13. Clear Check that file exists (since your .pdf reports will be created on the fly).
  14. Click OK twice to return to the Properties dialog.
  15. Click OK again to close the Properties dialog.

Additional Comments:

Spitfire adds three extensions to the Spitfire application in IIS: .doc, .pdf, and .exe. All three extensions use the same Executable, All verbs, and Script Engines. Both .doc and .pdf create files on the fly and therefore require the Check that File exists option to be clear (not selected). Note that the .exe extensions requires the Check that File exists option to be selected. The Spitfire Installation and Configuration Tool (ICTool) will normally configure these extensions in IIS for you.See KBA-01087 for additional troubleshooting tips.


KBA-01045;  Last updated: October 13, 2016 at 13:29 pm;
Keywords:  report page cannot be found