Microsoft KB Archive/318287

= What you need to use Active Server Pages (ASP) in FrontPage 2002 =

Article ID: 318287

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft FrontPage 2002 Standard Edition

-



This article was previously published under Q318287





For a Microsoft FrontPage 2000 version of this article, see 312638.



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</li></ul> </li> 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

</li></ul> </li></ul> </li> Microsoft Windows NT 4.0  Microsoft Windows NT 4.0 Workstation  Microsoft Peer Web Services 2.0, 3.0, or 4.0</li></ul> </li> Microsoft Windows NT 4.0 Server or Enterprise Server  Microsoft Internet Information Server 2.0, 3.0, or 4.0</li></ul> </li> 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</li></ul> </li></ul> </li></ul> </li> <li>Microsoft Windows XP <ul> <li>Microsoft Windows XP Home Edition <ul> <li>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

</li></ul> </li> <li>Microsoft Windows XP Professional <ul> <li>Microsoft Internet Information Services 5.1</li></ul> </li></ul> </li></ul>

<div class="moreinformation_section">

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  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  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:

http://www.microsoft.com/technet/archive/winntas/deploy/ntopclst.mspx?mfr=true

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  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:

http://download.microsoft.com/download/fp98/Utility/1.00/WIN98/EN-US/Asp.exe

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



where  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:

http://msdn.microsoft.com/dataaccess

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 &quot;Hello World!&quot; %> To do this, follow these steps: <ol> <li>Start FrontPage. Open the Web site by using the HTTP address to connect to it.</li> <li>Click the New Page button on the Standard toolbar.</li> <li>Click the HTML tab at the bottom of the FrontPage window to switch to HTML view.</li> <li> Click after the opening tag and then type the following ASP code: <% Response.Write &quot;Hello World!&quot; %>                       </li> <li>On the File menu, click Save. In the File name box, type Asptest.asp and click Save.</li> <li>On the File menu, click Preview in browser.

The page opens in your Web browser and displays the &quot;Hello World!&quot; 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.</li></ol>

<div class="references_section">