asp is fun


The ASP On Line Course:
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.

ASP Course and Code | HTML Tips, Code & Help | Java Code & Help | Gaming Walkthroughs

 



About Lisa's Sites

This LisaShea site is one of over twenty sites I own and run. The key focus of each of my sites is to help visitors improve their lives and find joy in each day. Many of my books' proceeds are donated to charity. I have been online since the early '80s, began publishing in 1987, and have now published over 300 books.
Use my Site Map to get started!
Be the change you wish to see in the world.