FP98: ASP Code Displayed in Browser

Last reviewed: March 18, 1998
Article ID: Q174185
The information in this article applies to:
  • Microsoft FrontPage 98 for Windows

SYMPTOMS

When you open an Active Server Page (ASP) in a Web browser, you see the ASP code rather than the HTML code 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. 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.

    NOTE: If you are not using one of the above mentioned servers, you cannot install the ASP engine.

-or-
  • 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 Compact Disc

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

  1. On the Windows Start menu, click Run.

  2. In the Open box, type "<x>:\60 Minute Intranet Kit\60 Minute Intranet Kit\modules\asp.exe" (with the quotation marks) where <x> is the drive letter for your CD-ROM drive.

  3. Click OK.

Method 2: Download the Asp.exe File and then Install It

  1. Download the Asp.exe file from the following Microsoft World Wide Web site:

          http://www.microsoft.com/msdownload/iis3/Download2.asp?Prod=1
    

    NOTE: Because the Microsoft Web site is constantly updated, the site address may change without notice. If this occurs, link to the Microsoft home page at the following address:

          http://www.microsoft.com
    

  2. 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 97, you will be able to 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 will be able to open the ASP page in your Web browser.

  6. Click OK.

REFERENCES

For more information about troubleshooting Active Server Pages, please see the following Microsoft Web site:

   http://www.microsoft.com/workshop/server/asp/bugs/tshoot-f.htm


Additional query words: 98 asp iis
Keywords : fpexp kbdta
Version : WINDOWS:98
Platform : WINDOWS
Hardware : x86
Issue type : kbtshoot


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.