SUMMARY
This article discusses the items required to use Microsoft
Active Server Pages (ASP) technologies with Microsoft FrontPage. Before you can
view the results of ASP features in FrontPage, you must install the components
listed in this article.
ASP technology is designed for Web servers
based on Microsoft Internet Information Services (IIS). The following list
shows the platforms and Web servers that are supported:
- Windows Consumer Editions
- Microsoft Windows 95
- Microsoft Personal Web Server 1.0 or 4.0
- Microsoft Windows 98
- Microsoft Personal Web Server 1.0 or 4.0
- Microsoft Windows Millennium Edition (Me)
- There is no supported Web server for Windows Me.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
266456
Personal Web Server is not
included with Windows Millennium Edition
- Microsoft Windows NT 4.0
- Microsoft Windows NT 4.0 Workstation
- Microsoft Peer Web Services 2.0, 3.0, or
4.0
- Microsoft Windows NT 4.0 Server or Enterprise Server
- Microsoft Internet Information Server 2.0, 3.0, or
4.0
- Microsoft Windows NT 4.0 Terminal Server
- There is no supported Web server for Windows NT 4.0
Terminal Server.
- Microsoft Internet Information Services
5.0
- Microsoft Windows XP
- Microsoft Windows XP Home Edition
- There is no supported Web server for Windows XP
Home Edition.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
304197
Personal Web Server is not included with Windows XP Home
Edition
- Microsoft Windows XP Professional
- Microsoft Internet Information Services
5.1
MORE INFORMATION
How to Find a Supported Web Server
Personal Web Server 1.0
This Web server is no longer available; however, you can install
it if you have the Microsoft FrontPage 97 or Microsoft FrontPage 98 compact
disc. It is located in the following folder on the compact disc
where
drive represents the drive
letter of your CD-ROM drive.
Internet Information Server 2.0 or 3.0 and
Peer Web Services 2.0 or 3.0
These Web servers are included with Windows NT 4.0. You can
install either Web server if you have the Windows NT 4.0 compact disc. To
install the server, double-click the Inetstp.exe file in the following folder
on the compact disc
where
drive represents the drive
letter of your CD-ROM drive.
Internet Information Server 4.0, Peer Web Services 4.0, and
Personal Web Server 4.0
These Web servers are included with the Windows NT 4.0 Option
Pack. They are also available for download at the following Microsoft Web site:
You can also install Personal Web Server 4.0 if you have the
Windows 98 compact disc. This program is located in the following folder on the
compact disc
where
drive represents the drive
letter of your CD-ROM drive.
Internet Information Services 5.0
This Web server is included with Windows 2000. You can install it
when you initially install Windows 2000. Or, if you already installed Windows
2000, rerun Windows 2000 Setup to install it.
Internet Information Services 5.1
This Web server is included with Windows XP Professional. You can
install it when you initially install Windows XP Professional. Or, if you
already installed Windows XP Professional, rerun Windows XP Professional Setup
to install it.
ASP Engine
The ASP engine is a component of all IIS versions 4.0 and later.
If you have a version earlier than 4.0, you can download the ASP engine from
the following Microsoft Web site:
The ASP engine is also included on the FrontPage 98 compact disc.
To install the ASP engine from the FrontPage 98 compact disc, open the
following folder
drive:\60 Minute Intranet Kit\60 Minute Intranet Kit\modules
where
drive represents the drive
letter of your CD-ROM drive, and then double-click the Asp.exe file.
Note Do not install the ASP engine if you have already installed IIS
version 4.0 or later.
32-bit ODBC Driver
Open Database Connectivity (ODBC) is a widely accepted standard
that allows software to communicate with a database. To use the ASP
functionality in FrontPage, you must install the 32-bit ODBC database driver
for the database that you want to use on your Web server. For example, the
Northwind Sample database is a Microsoft Access database. To use this sample
database, you need to install the Microsoft Access ODBC driver on your Web
server.
For additional information about ODBC drivers, visit the
following Microsoft Web site:
FrontPage Server Extensions
FrontPage Server Extensions allow the FrontPage client to
communicate with a Web server and allow you to author remotely.
For additional information
about how to install and configure FrontPage Server
Extensions, click the following article numbers to view the articles in the Microsoft Knowledge Base:
300004
How to install and configure
FrontPage 2000 Server Extensions on a Windows NT-based Web Server (Windows NT
or Windows 2000)
300543 How to use
the command-line tools to install and configure the FrontPage Server Extensions
on IIS 4.0 and IIS 5.0
300544 How to use
the command-line tools to upgrade to FrontPage Server Extensions 2002 on
Windows
Troubleshooting
To verify a successful ASP installation, you can run the
following sample ASP code:
<%
Response.Write "Hello World!"
%>
To do this, follow these steps:
- Start FrontPage. Open the Web site by using the HTTP
address to connect to it.
- Click the New Page button on the Standard toolbar.
- Click the HTML tab at the bottom of the FrontPage window to switch to HTML
view.
- Click after the opening <body> tag and then type the
following ASP code:
<%
Response.Write "Hello World!"
%>
- On the File menu, click Save. In the File name box, type Asptest.asp and click Save.
- On the File menu, click Preview in browser.
The page opens in your Web browser and displays the
"Hello World!" message.
Note If the page does not appear and you do not see the message,
review the list of required components earlier in this article.