Вы находитесь на странице: 1из 6

10/18/2014 Classic ASP Not Installed by Default on IIS 7.

0 and above : The Official Microsoft IIS Site

Search all of IIS.NET Sign In | Join

Home Downloads Learn Reference Solutions Blogs Forums


Get Started Install Manage Develop Publish Troubleshoot Extensions Media Application Frameworks Web Hosting

Home › Learn › Application Frameworks › Chapter 2. Running Classic ASP Applications on IIS 7 and IIS 8 › Classic ASP Not Installed by Default on IIS 7.0 and above

Classic ASP Not Installed by Default on IIS 7.0 and above


By Robert McMurray | February 19, 2009

One of the challanges of running IIS on your own server vs. running it in the cloud is that you need
to install the components you need manually, and it can sometimes be tricky figuring out what
needs to be installed to get the functionality you need. For example, in IIS, the classic version of
ASP is not installed by default. Because of this, you might see HTTP 404 errors when you try to
browse to an ASP page on your server, or you might see the source code for your ASP page
displayed in your browser window. Both of these error conditions are created when configuration
settings that are used to define the environment for classic ASP are not installed.

To support and configure ASP applications on your Web server, you must install the ASP module. Table of Contents
To install the ASP module on IIS, use the following steps for your version of Windows.
Building and Running ASP.NET Applications

Using ASP.NET Forms Authentication


Installing Classic ASP on Windows Server 2012 or Windows Server
2012 R2 ASP.NET Integration with IIS 7

How to Take Advantage of the IIS 7.0


1. On the taskbar, click Server Manager. Integrated Pipeline

2. In Server Manager, click the Manage menu, and then click Add Roles and Features. How to Capture ASP.NET Page Trace Events in
IIS 7.0 Tracing
3. In the Add Roles and Features wizard, click Next. Select the installation type and click Next.
Select the destination server and click Next. Upgrading ASP.NET 1.1 to IIS 7.0 on Windows
Vista and Windows Server 2008
4. On the Server Roles page, expand Web Server (IIS), expand Web Server, and then expand
Application Development. ASP.NET 2.0 Breaking Changes on IIS 7.0

Wildcard script mapping and IIS 7 integrated


pipeline

How to use the Sample Read-Only XML


Membership and Role Providers with IIS 7.0

ASP.NET Technical Resources

Running Classic ASP Applications on IIS 7 and IIS


8

Classic ASP Not Installed by Default on IIS 7.0


and above

Using Classic ASP with Microsoft Access


Databases on IIS

Classic ASP Script Error Messages No Longer

http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis 1/6
10/18/2014 Classic ASP Not Installed by Default on IIS 7.0 and above : The Official Microsoft IIS Site
Shown in Web Browser by Default

Using Failed Request Tracing to troubleshoot


Classic ASP errors

Classic ASP parent paths are disabled by


default

APPL_PHYSICAL_PATH Server Variable on


Windows Vista RTM

Classic ASP Applications on IIS 7.0 and IIS 7.5


Overview

Scenario: Build a Classic ASP Website on IIS

Install and Configure PHP on IIS

Configuring the FastCGI Extension for IIS 6.0

Installing PHP on Windows Vista with FastCGI


5. On the Server Roles page, select ASP.

Setting Up a Database for a PHP Application


6. If the Add features that are required by ASP? dialog box appears, click Add Features. (This
on IIS
page appears only if you have not already installed ISAPI Extensions on your server.)

Install PHP and FastCGI Support on Server


Core

Install and Configure MySQL for PHP


Applications on IIS 7

Walkthrough - Set Up MySQL 5.1 for PHP


applications

Install the SQL Server Driver for PHP

Enable FastCGI Support in IIS 7 on Windows


Server 2008, Windows Server 2008 R2,
Windows Vista, or Windows 7

Install and Configure SQL Server 2008 for PHP


Applications on IIS 7

Install and Configure PHP

How to Install the Microsoft Web Platform for


PHP

Using PHP Manager for IIS to setup and


7. On the Server Roles page, ASP and ISAPI Extensions should be selected. Click Next. configure PHP

Use the Windows Cache Extension for PHP

Enable Per-Site PHP Configuration on IIS 7 and


IIS 6.0

Create a Separate Site or Virtual Directory for


PHP Content

Configure SMTP E-Mail in IIS 7

How to Configure and Optimize the Microsoft


Web Platform for PHP

http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis 2/6
10/18/2014 Classic ASP Not Installed by Default on IIS 7.0 and above : The Official Microsoft IIS Site

Run Multiple Versions of PHP on IIS

Improve PHP Error Messages in IIS 7

How to Manage and Administer the Microsoft


Web Platform

Secure Your SQL Server Database

Secure Content in IIS Through Impersonation

Secure PHP with Configuration Settings

Secure Your Infrastructure and PHP


Applications

How to Secure the Microsoft Web Platform

Enable PHP Applications to Make Application-


Level Access Control Decisions

8. On the Features page, click Next.


Install and Configure PHP Applications on IIS
9. On the Confirmation page, click Install.
Advanced Poll on IIS
10. On the Results page, click Close.
b2Evolution on IIS

Coppermine on IIS
Installing Classic ASP on Windows 8 or Windows 8.1
Crafty Syntax Live Help on IIS

1. On the Start screen, move the pointer all the way to the lower left corner, right-click the Gallery2 on IIS
Start button, and then click Control Panel.
Geeklog on IIS
2. In Control Panel, click Programs and Features, and then click Turn Windows features on or
off. Mambo on IIS

3. Expand Internet Information Services, expand World Wide Web Services, expand Install WordPress on IIS
Application Development Features, and then select ASP.
XOOPS on IIS

MediaWiki on IIS

Install osCommerce on IIS

PHPNuke on IIS

Install Zen Cart on IIS

CubeCart on IIS

ExpressionEngine on IIS

LimeSurvey on IIS

OpenAds on IIS

PHPList on IIS

PHProjekt on IIS

Note: The ISAPI Extensions feature will be selected if it has not already been installed. Siteframe on IIS

http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis 3/6
10/18/2014 Classic ASP Not Installed by Default on IIS 7.0 and above : The Official Microsoft IIS Site

4. Click OK.
PHPWCMS on IIS

5. Click Close.
pMachinePro on IIS

Install Drupal on IIS

Installing Classic ASP on Windows Server 2008 or


Install Joomla! on IIS
Windows Server 2008 R2
Using FastCGI to Host PHP Applications on IIS
7
1. Click Start, point to Administrative Tools, and then click Server Manager.

Using FastCGI to Host PHP Applications on IIS


2. In the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS).
6.0

3. In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role
Translate .htaccess Content to IIS web.config
Services.

Provide URL Rewriting Functionality


4. On the Select Role Services page of the Add Role Services Wizard, select ASP.

How to Deploy Applications on the Microsoft


Web Platform for PHP

Running PHP Applications on IIS

MIX08: Partying with PHP on Microsoft


Internet Information Services 7

Set Up FastCGI for PHP

Build a High-Performance PHP Stack with


Windows IIS and Zend Server

Configure PHP Process Recycling Behavior

Best Practices for PHP on the Microsoft Web


Platform

Provision Web Sites for PHP Applications


Using Managed Code

5. If the Add role services required by ASP dialog box appears, click Add Required Role Develop on IIS 7

Services. (This page appears only if you have not already installed the ISAPI Extensions role
Enable PHP Syntax Highlighting on IIS 7
service on your server.)
How to Develop on the Microsoft Web
Platform

Scenario: Build an ASP.NET Website on IIS

Overview: Build an ASP.NET Website on IIS

Plan an ASP.NET Website on IIS

Planning Step 1: Plan IIS Web Server and


ASP.NET Modules Installation

6. On the Select Role Services page, click Next. Planning Step 2: Plan ASP.NET Settings

7. On the Confirm Installation Selections page, click Install.


Planning Step 3: Plan Data Source Settings

8. On the Results page, click Close.


Planning Step 4: Plan Application Security

http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis 4/6
10/18/2014 Classic ASP Not Installed by Default on IIS 7.0 and above : The Official Microsoft IIS Site

Installing Classic ASP on Windows Vista or Windows 7 Client Configure an ASP.NET Website on IIS

Configuring Step 1: Install IIS and ASP.NET


1. Click Start, and then click Control Panel. Modules

2. In Control Panel, click Programs and Features, and then click Turn Windows Features on or Configuring Step 2: Configure ASP.NET
off. Settings

3. Expand Internet Information Services, then World Wide Web Services, then Application Configuring Step 3: Configure Data Source
Development Features. Settings

4. Select ASP, and then click OK. Configuring Step 4: Configure Application
Security

Scenario: Build a PHP Website on IIS

Overview: Build a PHP Website on IIS

Plan a PHP Website on IIS

Planning Step 1: Plan IIS Web Server and PHP


Installation

Planning Step 2: Plan PHP Settings

Planning Step 3: Plan PHP Application Security

Configure a PHP Website on IIS

Configuring Step 1: Install IIS and PHP

Configuring Step 2: Configure PHP Settings

More Information Configuring Step 3: Configure PHP Application


Security

For more information about how to install classic ASP and how to configure classic ASP options,
see the following page in the IIS configuration reference on the Microsoft IIS.net Web site: SPONSOR: Host 10 ASP.NET web sites for free.

http://www.iis.net/ConfigReference/system.webServer/asp

Discuss in IIS Forums

BY ROBERT MCMURRAY

Robert McMurray is a Technical Writer at Microsoft. Robert has been with


Microsoft for 17 years, where he worked in Technical Support for IIS 1.0
through IIS 5.0, and as a Technical Writer for IIS 6.0 and IIS 7.0. Robert was a
Program Manager on the IIS Product Team for IIS 7.0, IIS 7.5, and IIS 8.0, where
he was responsible for IIS Express, URL Rewrite, and the Web Publishing
technologies (FTP, WebDAV, FPSE).

http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis 5/6
10/18/2014 Classic ASP Not Installed by Default on IIS 7.0 and above : The Official Microsoft IIS Site

This site is managed for Microsoft by Neudesic, LLC. | © 2014 Microsoft. All rights reserved. Follow us on:
Privacy Statement | Terms of Use | Contact Us | Advertise With Us | Hosted on Microsoft Azure Feedback on IIS | Powered by IIS8

http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis 6/6

Вам также может понравиться