• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

How to open a .aspx?

Joined
Aug 20, 2010
Messages
592 (0.11/day)
Processor Intel Core i5-2500K Sandy Bridge 3.3GHz (3.7GHz Turbo Boost) LGA 1155 95W @4.3GHz
Motherboard ASUS P8P67 PRO (REV 3.1) LGA 1155 Intel P67 SATA 6Gb/s USB 3.0 ATX Intel Motherboard
Cooling Cooler Master Hyper 212 EVO - CPU Cooler with 120 mm PWM Fan
Memory (16Gb) G.SKILL Ripjaws Series 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800)
Video Card(s) MSI GTX 970 GAMING 4G GeForce GTX 970 4GB 256-Bit GDDR5 PCI Express 3.0
Storage (2X) Kingston 120GB SSD in RAID 0 & WD Caviar 640GB & Samsung Spinpoint 1TB
Display(s) VIZIO M321i-A2 32-Inch 1080p 120Hz Smart LED HDTV
Case NZXT Source 210 ELITE Midtower Case with 3.0 USB - Black
Audio Device(s) Creative 7.1 PCI Express Sound Blaster X-FI Titanium
Power Supply Corsair CMPSU-750TX 750W
Software Windows 8 Pro 64Bit
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?
 
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?
 
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.
 
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. :toast:
 
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.
 
Browsers won't know what to do with all the ASPX tags and code.
 
Browsers won't know what to do with all the ASPX tags and code.

If they are coded correctly they will. I have created a .aspx web interface that updates records on a database that I use with ie and firefox. The browsers will only view the file as it's meant to be viewed. They will not edited the .aspx file with out using an add-on. :toast:

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. :toast:
 
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" %>

I got it on my server here (this is what it should look like):
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.
 
Last edited:
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" %>

I got it on my server here (this is what it should look like):
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.

I don't know why you are being so difficult buddy.. :laugh: I already told you that you were right about Editing... The OP is talking about viewing... ;) Not editing.. Not serving.. Viewing.. ;) :p I try to get any one asking a question to ask the right question... :D 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... :toast:

ASPXFile4Ford.jpg


Oh and here is your example. Why do you say firefox or ie will not open the file?

ASPXFile4Ford3.jpg


ASPXFile4Ford2.jpg
 
Last edited:
Does that look like this:
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.

Wow.. :eek: 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. :roll: Beat that drum buddy.. Someone will hear you... :D 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
 
...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.
 
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. :toast:
 
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. :mad:
 
@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.
 
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.

colorado.png
 
As I said, there's only two ways to: as code/scripting or as a served page.
 
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 :roll: :roll: 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! :toast: hehehe I got to get out of here.. :roll:
 
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.
 
Back
Top