I just downloaded an invoice from a supplier portal on my work Windows laptop, and for some reason it saved as an ASPX file instead of a normal document. I tried just renaming the extension to PDF, which completely broke the file, and my accounting department needs this attached to my expense report by 5 PM today. Is there a fast way to turn an ASPX file into a readable PDF without installing new software?
Rename it back to .aspx, then try opening it in Edge and use Ctrl+P, choosing “Microsoft Print to PDF.” If it shows code or an error instead of the invoice, go back to the supplier portal, open the invoice on screen, and print that page to PDF instead. I learned the hard way that changing the extension alone does not convert anything.
Renaming just changes the label, an ASPX file is really a web page. What I’d do:
- Right click the file and open it with Chrome or Edge.
- Hit Ctrl+P like your printing it.
- Change the destination to Save as PDF.
No installs needed, the browser handles it. Did it open right for you?
An ASPX file is usually a web page response, not the actual invoice, so renaming it will not work. Try opening it in Edge or Chrome, sign back into the supplier portal if needed, then use Ctrl+P and choose “Save as PDF.” If it opens as code or a download error, go back to the portal and look for a Print or Download PDF button.
Renaming can’t break anything, it just changes the label, and an ASPX file isn’t a document anyway, it’s the web page that was meant to show your invoice. Open it in Edge or Chrome and it should render, or at least link you back into the portal. Once the invoice is on screen, press Ctrl+P and choose Microsoft Print to PDF, which is already built into Windows.
ASPX is usually a web page response, not a PDF file, so renaming it won’t work. Right-click it, choose Open with, and use Edge or Chrome, then press Ctrl+P and select “Microsoft Print to PDF” or “Save to PDF.” If the page shows a login or error instead of the invoice, go back to the supplier portal and use its Print or Download invoice option, since the original download probably failed.
I get ASPX downloads from our patient portal too. I just open it in Chrome and hit print to PDF, no extra software needed.
Renaming won’t work, aspx is just the raw webpage code, not an actual PDF underneath. Quickest fix:
- Open the aspx file in a browser (right click, open with, choose Chrome or Edge).
- Once the invoice page loads properly, use Ctrl+P and pick “Save as PDF” as the printer.
- Check it opens fine before attaching, keep the original aspx just in case accounting asks for it.
Same as @SilentHunter, Ctrl+P then Save as PDF is what I do on my old laptop. One gotcha: tick Background graphics in the print dialog, or the invoice logo and totals boxes come out blank. Not sure if Chrome shows that option on Mac.
I deal with this constantly when pulling vendor receipts for new hires! Try opening it in a browser first:
- Right-click the file and select ‘Open with’ Chrome or Edge.
- Press Ctrl+P to open the print menu.
- Choose ‘Microsoft Print to PDF’ as your printer and hit save.
I see this ASPX glitch at least 5 times a week with my clients’ supplier portals. Just open that file in a web browser like Chrome, hit print, and choose Save as PDF.
Did that work for your expense report?
@JackJenkins I always check Background graphics first or the invoice looks empty. I send proofs to clients so blank logos drive me crazy. Edge on Windows has it under More settings in the print box.
@caleb_hill Yeah, that background graphics box has saved me more than once. I had a receipt print with just the numbers and no logo and finance still took it, but it looked sloppy. Worth also checking headers and footers so the portal URL doesn’t get stamped on the file.