Microsoft KB Archive/174185

= FP98: ASP Code Is Displayed in Browser =

Article ID: 174185

Article Last Modified on 7/4/2007

-

APPLIES TO


 * Microsoft FrontPage 98 Standard Edition

-



This article was previously published under Q174185



SYMPTOMS
When you open an Active Server Page (ASP) in a Web browser, you see the ASP code rather than the HTML code that is generated by the Web server.



CAUSE
This behavior occurs when either of the following conditions is true:
 * The ASP engine is not installed on the Web server that compiles the ASP code. For example, if you are using a derivative of the Microsoft Internet Information Server (IIS) for Windows NT Server, Microsoft Peer Web Services for Windows NT Workstation, or Microsoft Personal Web Server for Windows 95, then you must install the ASP engine on the Web server.

If you are using Internet Information Server with Microsoft Windows 2000, then you do not have to install the ASP engine. This Web server has the ASP functionality built-in.

Note If you are not using one of these servers, you cannot install the ASP engine.
 * The folder that contains the ASP file is not set as executable.



RESOLUTION
To resolve this problem, use the appropriate method for your situation.

Method 1: Install the ASP Engine from the CD
Note Do not use this method to install ASP from the "60 Minute Intranet Kit" if you are running Microsoft Internet Information Server version 4 or Personal Web Server 4. ASP is already installed with these Web servers.

Run the Asp.exe file. This file is located in the \60 Minute Intranet Kit\60 Minute Intranet Kit\Modules folder on the Microsoft FrontPage 98 CD. To do this, follow these steps:


 * 1) On the Windows Start menu, click Run.
 * 2) In the Open box, type " :\60 Minute Intranet Kit\60 Minute Intranet Kit\modules\asp.exe" where   is the drive letter for your CD-ROM drive.
 * 3) Click OK.

Method 2: Download and Install the Asp.exe File
 Download the Asp.exe file. The following file is available for download from the Microsoft Download Center:

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

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. Double-click the Asp.exe file to install the ASP engine.

Method 3: Set the Folder to Execute Scripts or Programs
Note This method is not available if you are using a disk-based web.
 * 1) Open the Web in FrontPage Explorer.
 * 2) On the View menu, click Folders.
 * 3) Right-click the folder that contains the ASP file, and then click Properties on the menu that appears.
 * 4) Click the General tab.
 * 5) Click to select the Allow scripts or programs to be run check box.

Note After you select this option in FrontPage, you can browse the content in this folder only by following a hyperlink from a Web page that is not stored in an executable folder. In contrast, in FrontPage 98, you can set this folder to be browsed and executable so that you can open the ASP page in your Web browser.
 * 1) Click OK.

