Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 688
  • Last Modified:

Can't open ASP page in IE

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
schoon
Asked:
schoon
  • 3
  • 2
1 Solution
 
MurdokCommented:
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
 
schoonAuthor Commented:
Thanks.

Could you be a bit more specific about where and how to do this.
0
 
absongCommented:
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
schoonAuthor Commented:
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
 
absongCommented:
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
 
schoonAuthor Commented:
Helped a lot. Thanks!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now