FP98: ASP Code Displayed in Browser

ID: Q174185


The information in this article applies to:


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:


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 quotation marks) where <x> is the drive letter for your CD-ROM drive.


  3. Click OK.


Method 2: Download and Install the Asp.exe File

  1. Download the Asp.exe file from the following Microsoft World Wide Web site:
    http://www.microsoft.com/msdownload/iis3/Download2.asp?Prod=1


  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, 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 "ASP Troubleshooting Tips and Techniques" on the following Microsoft Web site:

http://www.microsoft.com/workshop/server/bugzap/tshoot.asp

Additional query words: 98 asp iis


Keywords          : kbdta fpexp 
Version           : WINDOWS:98
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: July 23, 1999