Making Sure IIS 5.0 Is Supporting ASP Pages

This section provides a tutorial example on how to verify that IIS (Internet Information Services) 5.0 is configured to support ASP (Active Server Pages).

1. Go to Control Panel, then Administrative Tools, then Internet Services Manager, and right mouse click on Default Web Site, then select properties command.

2. Click on Home Directory tab on the properties dialog box, then click the Configuration button.

3. Click on App Mappings tab on the configuration dialog box, then check to see the following line in the mapping area.

Extension   Executable Path                     Verbs

.asp        c:\winnt\system32\inetsrv\asp.dll   GET,HEAD,POST,TRACE

3. Create the following hello.asp file:

<%@ language="vbscript"%>
<html><body>
<%
response.write("Hello world!")
%>
</body></html>

4. Copy hello.asp to \inetpub\wwwroot, which is the directory where the web server will take the ASP page files.

5. Run Internet Explorer (IE) with this url: http://localhost/hello.asp.

6. If you see "Hello world!" on the IE window, you know your IIS web server is serving ASP pages.

Table of Contents

 About This Book

 ASP (Active Server Pages) Introduction

IIS (Internet Information Services) 5.0

 Making Sure IIS 5.0 Is Running

Making Sure IIS 5.0 Is Supporting ASP Pages

 Reviewing IIS 5.0 Settings

 MS Script Debugger

 VBScript Language

 ASP Built-in Run-time Objects

 ASP Session

 Creating and Managing Cookies

 Managing Sessions with and without Cookies

 scrrun.dll - Scripting Runtime DLL

 Managing Response Header Lines

 Calculation Speed and Response Time

 ADO (ActiveX Data Object) DLL

 Working with MS Access Database

 Guest Book Application Example

 References

 Full Version in PDF/EPUB