Link to home
Start Free TrialLog in
Avatar of schoon
schoon

asked on

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.
Avatar of Murdok
Murdok

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.

Avatar of schoon

ASKER

Thanks.

Could you be a bit more specific about where and how to do this.
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
Avatar of schoon

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of absong
absong

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of schoon

ASKER

Helped a lot. Thanks!