Solved

Can't open ASP page in IE

Posted on 2000-03-08
6
681 Views
Last Modified: 2012-05-05
I have a similar problem to Q1029312 and none of the answers to that help.

When I try and open an ASP page in IE5 I get asked if I want to open it or save it. I  can open an ASP page if I enter the address http://127.0.0.1/mypage.asp

I'm running IE5, IIS (the one that comes with NT Opt Pack 4), NT Server 4.0 with SP6.
0
Comment
Question by:schoon
  • 3
  • 2
6 Comments
 

Expert Comment

by:Murdok
ID: 2596575
I think that you perhaps have one problem:

First you perhaps must add in the IIS configuration the Extension ASP to your group of documents.

0
 

Author Comment

by:schoon
ID: 2596645
Thanks.

Could you be a bit more specific about where and how to do this.
0
 
LVL 3

Expert Comment

by:absong
ID: 2598663
When you drag an ASP file from your C: drive to IE5, Windows tries to identify the file type by its extension. However, Windows does not recognize .ASP extension as a browser viewable extension, therefore it tells your IE5 that it is sending a unrecognized file to IE5, and IE5 asks you if you want to save it or download it.

When you open an ASP file through HTTP protocol, the request goes through IIS. IIS recognizes .ASP extension and convert it into a browser viewable format (i.e. append HTTP headers to it). This is why IE5 can view ASP files correctly if you use:

     http://127.0.0.1/mypage.asp
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:schoon
ID: 2598793
So does that mean I can only ever view ASP pages by typimg in http://127.0.0.1/page.asp?

And how do I look at pages in virtual directories?
0
 
LVL 3

Accepted Solution

by:
absong earned 200 total points
ID: 2598876
Yes, if you want to view your ASP pages the way it would appear to other people (i.e. processed), you need to view it through HTTP protocol. That is:

   http://xyz/page.asp

xyz can be:
127.0.0.1 - local machine
localhost - local machine
<your true ip address> - your local machine as known to the outside world

you can find out your ip address by using winipcfg

---

Virtual directories are the same
so if you have a virtual directory called /cgi-bin/, you can view that directory through

   http://127.0.0.1/cgi-bin/


Hope this helps
0
 

Author Comment

by:schoon
ID: 2600893
Helped a lot. Thanks!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now