Discussion Locked

running .asp files

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
We are running nt 4.0 and used iis 2.0 to try to allow asp files to execute (by modifying the home directory to execute permissions). Yet, when we hit an asp page (from our server) the browser does not recognize it and attempts to try to download the file. Is there some place where we have to install something to allow asp files to execute? Is this not an automatic setting? Is there another setting that we missed? How can we troubleshoot this problem? Help! Thanks.

8 replies

by gigelul

If you have/use FrontPage on CD kit you will find <60 minute intranet kit> which have good examples.
If I remember correct, for use a database you need some initial steps:
-on server in ODBC manager you must set a SYSTEM DSN with the name of your database and after that in Front page exist a wizard to insert this database. Also you must change some permissions for your root web and make a directory marked as an application starting point.
This is not a very clear answer but as I said, you can find all detail on FrontPage CD.
Hope this help you.

by yapa

Dear Florinel:
This is a good starting place, but we are not connecting to a database. Have you any idea what the problem could be, if a database if not involved? Is there some basic steps that must be completed just to allow an asp page to run?Thanks.

by green lantern

IIS ver 2.0 does not recognize ASP pages. I believe that ability startd with IIS ver 3.0 or perhaps 4.0.

by gigelul

For a dialog you can post a comment only and not reject the answer.

I give you from the same source some details:
"-Active Server Pages (ASP files) are pages that run scripts or programs to generate HTML content dynamically. FrontPage 98 does not allow scripts or programs to be run by default.
-In Windows 95 open the Windows explorer and surf to the folder of your web ? by default it can be found in the C:\webshare\wwwroot\ directory. Right click on the topmost folder of your web. Choose"sharing?" In the dialog that appears, select the "Shared As:" Radio Button. Then select the "Web Sharing Button?" Click on the Execute Scripts box.
-In WindowsNT you will need to alter the sharing permissions on the web so that the search page can execute the scripts it needs to. In order to do this, you must open the Internet Service Manager program from the Start menu [it can be found in the Microsoft Internet Server (common) folder]. Once open, double click on the WWW service?This willbring up a dialog in which you will want to select the DIRECTORIES tab and click the ADD button.
All you now need to do is set up a virtual dierectory and enable scripts to be run. Do this by BROWSING for the root folder of your web (as a default in the C:\inetpub\wwwroot\ directory). Then in the ALIAS box, type in the name of the web. Now click to enable scripts and you are done."

by duskos

Answer 2 is correct.
However, you should download or obtain NT Option Pack on CD. It is free. It will upgrade your IIS 2.0 to IIS 4.0.
Don't forget to reapply NT 4.0 Service Pack 6a and latest IIS 4.0 hotfixes (this will prevent Nimda and Code Redviruses).

by yapa

I want to apologize to answers #3 and #4. I did not see them before I closed the question. I am really sorry! Thanks for your time and expertise on my behalf. Heidi

This discussion is closed to new replies.