Solved

Can't open ASP page in IE

Posted on 2000-03-08
6
685 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

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…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

729 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