Running an ASP Web Page ~ ASP Coding Guide

Wednesday, February 14, 2007

Running an ASP Web Page

If you do not know where to save and run your ASP web pages from, this lesson will guide you through the process. In the previous lesson we installed Microsoft's Server software (IIS or PWS) to enable your computer to run .asp files. However, having IIS or PWS installed is not enough to run ASP files. The next step you must complete is to save and run your ASP files from a special location on your hard drive: the Inetpub directory to be specific.

Follow these steps to navigate to this directory:

Open up "My Computer" or "Windows Explorer" so that you can view your system's files and directories.

Select and Open the C drive (C:)

Double click the Inetpub folder

Double click the wwwroot folder - The full path to this location is "C:\Inetpub\wwwroot" for you advanced users

Within the wwwroot directory locate the "localstart.asp" file.

This is the same file you saw after completing the installation in the previous lesson. Your ASP files will have to go into this wwwroot directory or a contained sub-directory to run properly.

No comments: