![]() |
|
|
#1 |
![]() Join Date: Aug 2010
Location: Tampa Bay, Fl
Posts: 527 (0.52/day)
Thanks: 98
Thanked 88 Times in 62 Posts
|
How to open a .aspx?
So for some odd reason my computer can't open a .aspx file. I told my computer to determine the proper program to open the file with but nothing works. I tried adobe reader, notepad, iE. Nothing works. Can anyone recommend a program?
|
|
|
|
|
|
#2 |
![]() |
I'm working with this URL:
Colorado.gov What browser are you using to try and open it? Nevermind, I see you are trying with IE (and also guessing). I'll try with IE 9. For future reference, use a site like FileXT (recommended) or Wikipedia to get more info on a file extension. Works with IE 9. Can you give more context, such as where the file came from? |
|
|
|
|
|
#3 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,580 (6.28/day)
Thanks: 1,755
Thanked 2,598 Times in 1,962 Posts
|
IIS (or some other server) needs to host it and be set up to process ASPX files. To enable it, Google something like ASPX Apache or ASPX IIS7. You'll find guides on how to make it work.
If you're trying to edit it, Visual Studio is best but any text editor (ASCII, UTF8, UTF16) will work.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
#4 |
|
Moderato®™
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,667 (2.45/day)
Thanks: 4,327
Thanked 2,322 Times in 1,153 Posts
|
If you just want to open it, then any web browser (firefox, ie, opera) will open a .aspx file. You can also, get a add-on in firefox called "Web Developer", but Ford is right the best aspx editor would be Visual Studio. The main editor that I use more than any is "Notepad++" and it will open it as well.
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!” Battletag: Mindweaver#1523 |
|
|
|
|
|
#5 |
![]() Join Date: Jan 2012
Location: Dover, New Hampshire, USA
Posts: 4,268 (8.85/day)
Thanks: 1,280
Thanked 1,330 Times in 986 Posts
|
After the code is processed, it should return with a text/html MIME-type assuming you're not editing the file server-side or if the code returns a different type in the http header.
__________________
MyHeat |
|
|
|
|
|
#6 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,580 (6.28/day)
Thanks: 1,755
Thanked 2,598 Times in 1,962 Posts
|
Browsers won't know what to do with all the ASPX tags and code.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
#7 | |
|
Moderato®™
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,667 (2.45/day)
Thanks: 4,327
Thanked 2,322 Times in 1,153 Posts
|
Quote:
![]() EDIT: You are talking about editing and I'm talking about viewing the end results. He just wanted to know how to open the file, not edit or at least that's what I got from his OP. I agree with you if he wants to edit it, visual studio would be his best tool.
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!” Battletag: Mindweaver#1523 |
|
|
|
|
|
|
#8 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,580 (6.28/day)
Thanks: 1,755
Thanked 2,598 Times in 1,962 Posts
|
I wasn't talking about editing. Browsers don't know what to do with ASPX tags so it simply doesn't render them.
IE9 will not open ASPX (blank page and you can view all the source--ASPX tags should never reach the browser). If you want to test yourself, here's code to test (put it in a blank file and save as something.aspx): Code:
<%@ Page Trace="true" Language="C#" ContentType="text/html" ResponseEncoding="utf-8" %> http://fordgt90concept.homeip.net/test.aspx If it doesn't look like that, ASPX is not serving. To enable ASPX on my server (IIS6 and .NET Framework 4.0 already installed), all I had to do was go into the IIS manager, click on Web Service Extensions, click on .NET 4.0, and click on Allow.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } Last edited by FordGT90Concept; Jul 18, 2012 at 04:40 AM. |
|
|
|
|
|
#9 | |
|
Moderato®™
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,667 (2.45/day)
Thanks: 4,327
Thanked 2,322 Times in 1,153 Posts
|
Quote:
I already told you that you were right about Editing... The OP is talking about viewing... Not editing.. Not serving.. Viewing.. I try to get any one asking a question to ask the right question... I was hoping that you would see what I try to do, and jump on ship.. but when someone is more worried about being right, it clouds there judgment... ![]() ![]() Oh and here is your example. Why do you say firefox or ie will not open the file? ![]()
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!” Battletag: Mindweaver#1523 Last edited by Mindweaver; Jul 18, 2012 at 01:30 PM. |
|
|
|
|
|
|
#10 | |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,580 (6.28/day)
Thanks: 1,755
Thanked 2,598 Times in 1,962 Posts
|
Quote:
http://fordgt90concept.homeip.net/test.aspx In a word: no. Browsers only process client-sided languages like HTML, CSS, JavaScript, and VBScript. They display server-sided languages as text.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
|
#11 | |
|
Moderato®™
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,667 (2.45/day)
Thanks: 4,327
Thanked 2,322 Times in 1,153 Posts
|
Quote:
When you don't get it.. You don't get it.. Ford buddy, I have other fish to fry today... I'm sorry you do not understand my concept... One day you too will have the force... but not this day. Beat that drum buddy.. Someone will hear you... I have nothing else to say until the OP response.. If you would like to keep this going... Then I guess.. and I know I'm going to kick myself for saying this.. but PM me.. hehehe
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!” Battletag: Mindweaver#1523 |
|
|
|
|
|
|
#12 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,580 (6.28/day)
Thanks: 1,755
Thanked 2,598 Times in 1,962 Posts
|
...let me make it real simple. There's only two ways to view scripts of any kind:
1. As code. 2. As processed. Everything you've shown me is #1. What I showed you is #2. He tried #1 with notepad and IE. He was not satisfied. #2 is likely the solution he is looking for which requires a web host accepting ASP.NET.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
#13 |
|
Moderato®™
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,667 (2.45/day)
Thanks: 4,327
Thanked 2,322 Times in 1,153 Posts
|
Ok, I have a few minutes now... since we are making it "real simple. Obviously someone that is trying to open a .aspx file would not be hosting or running asp.net. Since the OP still hasn't responded, more than likely he downloaded this .aspx file. So, it's possible the server is not changing the downloaded file to which ever file it needs to be. Example: if the user is expecting to get a "something.pdf" or what not and received a "something.aspx" file then I would change the file extension from .aspx to .pdf and see if it opens. I'm saying it's possible.. Not saying this is what has happened... and again we need more input from the OP.
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!” Battletag: Mindweaver#1523 |
|
|
|
|
|
#14 |
![]() Join Date: Nov 2008
Location: North Carolina, USA
Posts: 420 (0.25/day)
Thanks: 65
Thanked 76 Times in 59 Posts
|
I had a similar problem with a web site that handed my browser a .aspx file. The web server actually generated a .pdf but didn't rename it before giving it to me. No web browser (Chrome, Firefox, Internet Explorer) had a clue about what to do with a .aspx file (that is server-side code, not client-side). Once I figured out their screw-up, I saved the incoming file as a .pdf, and everything was cool. I reported the problem to their webmaster, and he didn't do jack to fix it.
|
|
|
|
|
|
#15 |
![]() |
@Ford, Mindweaver
I'm really confused. Are you guys able to open the link I posted? It's .aspx and displays the same as any other page. I can save the page to my desktop and open it with any browser. |
|
|
|
|
|
#16 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,580 (6.28/day)
Thanks: 1,755
Thanked 2,598 Times in 1,962 Posts
|
It opens fine. What you're saving is the HTML ASP.NET generated on the server, not the ASP.NET code itself. If you see ASP.NET code client-side, ASP.NET is not functioning properly on the server.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
#17 | |
![]() |
Quote:
|
|
|
|
|
|
|
#18 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,580 (6.28/day)
Thanks: 1,755
Thanked 2,598 Times in 1,962 Posts
|
As I said, there's only two ways to: as code/scripting or as a served page.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
#19 |
|
Moderato®™
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,667 (2.45/day)
Thanks: 4,327
Thanked 2,322 Times in 1,153 Posts
|
With all due respect, and I mean with "All do respect".. I think we are all in agreeance that (hehehehe) we are all right... Especially me.. hehehe I think this is the most post on a subject with out the OP adding anything.... lol
If anyone does not know... there is only 2 ways to do something.. The right way and the wrong way... I think we are all doing it right! hehehe I got to get out of here..
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!” Battletag: Mindweaver#1523 |
|
|
|
|
|
#20 |
![]() |
I think the biggest problem with this thread is that two knowledgeable parties (whether right or wrong) wanted to show how knowledgeable they are instead of just providing OP a means to open the .aspx file.
That said, OP hasn't done much to help himself, otherwise he would've explained the context of his trying to open said .aspx file and either Ford or Mind would've been able to step in and give the technical details on why or how it would or wouldn't be possible to open the file. DAT RUN-ON SENTENCE. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to open up a Sony Vaio? | OrbitzXT | General Hardware | 16 | Sep 21, 2010 05:11 PM |
| How to open downloads HELP | Blackjack49 | Games | 3 | Feb 19, 2010 12:13 AM |
| How do I open .HEX files? | ShadowFold | General Software | 1 | Feb 26, 2008 04:40 AM |
| How: Open Two Application | HiddenStupid | General Software | 8 | Oct 17, 2007 01:21 PM |
| How Can I Open...? | MZ3692 | General Software | 3 | Jul 10, 2006 08:40 PM |