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-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
  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-12-01T21:20:45+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.

    I made a copy of the file in question ( Just to make sure I didn't damage the original) then changed the copy extension to the same file name.JPEG and saved the copied file. It worked like a charm for me. BTW, I have Windows 7.wit

       debidug

       I had the same problem with a file I downloaded on internet explorer.  Couldn't open it, couldn't open it

       couldn't open it..............................................  Then, I accidently downloaded the file using Chrome.  When I  

       went to open it,  the file it was already in PDF version and I'm not sure why, but try it and see if it works 

       for anyone else. 

    FINALLY!!!  I am on Windows 7.  When I opened the file with Chrome, it worked. Thank you Deborah.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2014-12-04T17:38:31+00:00

    Thanks for the suggestion, didn't know that could be done.

    I found an even easier solution is simply to edit the name of the file and add .pdf in place of .aspx.

    Paul

    Was this answer helpful?

    0 comments No comments