g
Printer Friendly Version

editor  
BellaOnline's ASP Editor
 

Setting up the Webserver for ASP

You can't just stick ASP in a HTML file and expect it to work. Learn what needs to be done on the webserver to get started with ASP.

ASP is a language which is interpreted before the end user sees the webpage. That is, if you write a block of ASP code to create a list of available books for sale, the end user won't see any of that code. He or she will only see the nicely formatted list of books, just as if you wrote that list manually in HTML.

This means that you need to set up your webserver to know to process the file before handing it over to the end user. These instructions are for IIS, but the steps are similar in other web server systems.

Go into whichever IIS manager you use. Highlight the website you're interested in. For that websitethat you'd like to use ASP with, right click and go into PROPERTIES. You'll get a multi-tab page with all of the details of that webpage.

Click on the HOME DIRECTORY tab. In the lower area is the Application Settings group. Click on Configuration.

Add two new lines to this area with the ADD button. These lines should read:

Extension: asa
Executable path: c:winntSystem32inetsrvasp.dll

Extension: asp
Executable path: c:winntSystem32inetsrvasp.dll

If your asp.dll file is located in another directory, indicate which one it is actually in. That's it! Name your files with a .asp extension, and you should be ready to start using ASP code.

Introduction to ASP Ebook

Download this ebook to get everything you need to know about learning ASP - from a step by step tutorial to function lists, sample code, common errors and solutions, and much more! 101 pages.

ASP Site @ BellaOnline
View This Article in Regular Layout

Content copyright © 2013 by Lisa Shea. All rights reserved.
This content was written by Lisa Shea. If you wish to use this content in any manner, you need written permission. Contact Lisa Shea for details.



| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2014 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor