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: Oldest
  1. Anonymous
    2014-08-29T19:52:51+00:00

    I read all the replies, but this is what worked for me:  When I downloaded the file and it asked to save the file, I simply added ".pdf" to the end of the file name.  Bam!  It worked.  :)

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2014-09-16T22:03:25+00:00

    I had the same problem and after reading some replies I decided to change the extension to .html and had it open in IE.

    Was this answer helpful?

    0 comments No comments
  3. 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
  4. Anonymous
    2014-11-12T10:00:33+00:00

    I saved the file to desktop as it was then right clicked and went to other and used adobe acrobat to open it

    Was this answer helpful?

    0 comments No comments