How do I open an .aspx file?

Anonymous
2011-03-30T21:08:26+00:00

I have just downloaded an .aspx file.  Windows 7 doesn't know how to open.  How can I open it?

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2011-03-30T22:27:11+00:00

An .ASPX file is a collection of processing routines written in Visual Basic Script. They are typically run from a web server or similar calling program by passing parameters into one or more of the routines.

If you try double-clicking the file, you are attempting to run it. When run out-of-context, e.g. not from a calling program, the .ASPX file can do nothing but damage.

If you want to see the underlying script commands, right click it and select Edit. The file should open in Notepad and you should be able to read the code.

Was this answer helpful?

300+ people found this answer helpful.
0 comments No comments

78 additional answers

Sort by: Most helpful
  1. Anonymous
    2015-01-04T06:37:49+00:00

    Sounded so promising, but it didn't work. :(

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2014-12-01T06:28:25+00:00

    Wonderful, wonderful, wonderful.  Thanks so much.  I've been looking for a quick, straightforward way to do this.  Thanks for your wonderful common sense post.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2014-11-18T06:42:22+00:00

    Right click file, left click Properties, then under the General heading change the file name from xxx.asp x to something else, like bill.PDF. Save then open file.

    Thanks for the tip! I saved the aspx file as .pdf, instead of opening, on the Windows dialog box, then opened with Free File Viewer.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2014-10-13T17:58:15+00:00

    I opened the aspx file in Notepad, then Save-As, and I chose "All other files", added the extension of PDF to the file name, and it saved correctly as a PDF. Note that it took Notepad a while to complete the save (all done in Windows 7).

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments