Discussion Locked

Problem in browsing ASP page

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

i'm new to ASP,FrontPage and PWS .After i install the frontpage 98 and PWS i tried to publish a web..fortunately i could browse my page anywhere in our department since we are in the intranet but the only problem i had encounter is that the ASP pagedoes not work correctly...when i try to access something like this : http://myweb/welcome.asp , suddenly the FILE DOWNLOAD dialog will appear instead the contents of the ASP but it works fine in the HTML ... i hope somebody could help my problem on how ASP will work what i wanted..

thanks

Holden

9 replies

by geoffreyc

Two possibilities that might help, in PWS Administration, under Advanced, check the directory containing the ASP scripts by clicking on it and selecting Edit Properties and make sure Scripts is checked. (If it already is, try with Execute checked also.)

Also, I have encountered this problem when there are bugs in asp and perl script pages, so check the code thoroughly.

by zahoor

There are two solutions to this problem, either place your welocme.asp in the root directory created by PWS OR make the directory, in which the welcome.asp reside, a virtual directory with the help of PWS advanced option.
with first option you canaccess your asp file by just writing the address of your home page while replacing the index.html (default page) with your welcome.asp in address bar.
If you have created a virtual directory then proceed the home directory with your virtual directory alis and write welcome.asp in the address bar.

by gbworld

You have the PWS from FrontPage and have not installed ASP. If this is the reason, upgrading to the NT Option Pack (yes, there is a 9x version too) is an option. Note that this should only apply to Windows 9x implementations, unless you are using IIS 3. This is the most likely reason. The download was available for free on the Microsoft site for a long time. Not sure if it is still there, but it should be. Check http://officeupdate.microsoft.com.

It has been suggested you may also have scripting turned off on your site. I doubt this is the reason, but open the IIS manager (or PWS) and check to make sure you have either script or execute right turned on. This shows another error under FP2000, but I believe it could cause this problem under

If you were using FP2000, I would suggest that you are using a disk based web. You cannot do this in FrontPage 98, but you can place files outside the web if you really try.

Check the server and make sure it is ASP enabled, as in the first paragraph.

GB

by hclarius

First make sure your ASP pages work on your machine. If you can't get it to work on your machine, you will not get it to work from another machine. Make sure PWS (your web server) is running. Just because you can "access" all your html pages from another machine and they appear correctly in a browser does not mean your web server is running. Create a simple ASP page (test.asp). Place it in your web server default directory (most likely c:\inetpub\wwwroot). Then open your browser and open it using "localhost/test.asp".
If you know your IP address use it.

This discussion is closed to new replies.