How to install ASP.Cyberspace ane.i with IIS7 on Vista and Windows 2008

by Walter Oliver

Overview

You can use the Spider web Platform Installer (Web PI) to easily install IIS, and applications that run on IIS. The Spider web PI is a costless, lightweight tool that lets you install IIS and related technologies such as ASP.NET, SQL Server Express, Visual Spider web Developer, other popular Web applications, and more. Because the Web PI references and links to the latest versions of bachelor Web Platform offerings, with but a few uncomplicated clicks you tin download and install whatsoever new tools or updates. To larn more about the Spider web PI, encounter Learn more than and install the Web PI.

You tin can also install ASP.Cyberspace 2.0 (iii.0 and iii.5) using the Windows Vista and Windows 2008 user interface - merely install the ASP.NET component located nether IIS->Word Wide Web Services->Awarding Development Features. Y'all can detect this set of components in Windows 2008 by clicking Start, and click Server Manager. Expand the left-mitt treeview in Server Manager and click Manage Roles, and then Web Server (IIS). In the right-mitt pane look for an selection that says Add together Role Services. If you're on Windows Vista, click Start, click Control Panel, click Programs, and and so Windows Features. Look for the following tree of features under Internet Information Services (IIS):

Screenshot of the Internet Information Services folder and its contained tree of folders.

ASP.Net 1.1 is not included in Windows Vista or Windows 2008 and must be downloaded and installed manually. This mail service shows you how:

Step 1: Install "IIS Metabase Compatibility"

The IIS "Metabase compatibility" component is required to successfully install ASP.NET 1.one.

To install information technology on Windows 2008 Server, click Start, and click Server Manager. Expand the left-hand treeview in Server Managing director and click Manage Roles, and then Spider web Server (IIS). In the right-hand pane look for an selection that says Add Role Services. This takes you to wizard where y'all can install "IIS Metabase Compatibility".

Screenshot of the Role Services pane with a focus on the I I S Metabase Compatibility option.

If you lot're on Windows Vista, click Start, click Command Panel, click Programs, and so Windows Features. Await for Internet Information Services (IIS) and install "IIS Metabase Compatibility".

Stride 2: Install the .Internet Framework v1.ane and .Cyberspace Framework v1.one SP1

Install Framework v1.1, SP1, and ASP.Net'southward security update to SP1:

  • .Internet Framework Version 1.1 Redistributable Package
  • .NET Framework Version i.1 Service Pack 1
  • ASP.Cyberspace Security Update for .NET Framework 1.ane SP1

When you install .NET Framework Version 1.1, and SP1 for .Internet Framework Version i.1, you'll see the following dialog. Click Run program.

Screenshot of the Program Compatibility Assistant dialog box with a focus on the Run program option.

Notation

If you do not install Framework v1.one SP1, you may run across Data Execution Prevention errors with letters similar "IIS Worker Process has stopped working". This is expected. Installing .Net Framework v1.1 SP1 will gear up this.

Screenshot of an error message reading I I S Worker Process has stopped working.

Step iii: Enable ASP.Internet v1.one ISAPI Extension

Enable ASP.Cyberspace v1.1 ISAPI as an allowed ISAPI extension. To practice this, open "IIS Manager" assistants tool. In the features view, click on the "ISAPI and CGI Restrictions" characteristic. In the actions pane, click "add"

Extension: C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet\_isapi.dll (Note: alter drive if your arrangement drive is not C:) Description: ASP.Net v1.1

Screenshot of the Add I S A P I or C G I Rescriction dialog box over the I S A P I and C G I Restrictions screen.

You tin can also do by running the following command line:

              %windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis -enable                          

Step four: Add IgnoreSection Handler to v1.1 car.config

ASP.NET v1.1 will throw runtime exceptions out of the box if you have IIS configuration in the spider web.config files that are read by your ASP.Cyberspace v1.1 applications. To make ASP.NET v1.i ignore IIS configuration sections, open the Framework v1.1 machine.config file %windir%\Microsoft.NET\Framework\v1.i.4322\config\car.config and add together the following section entry just in a higher place the lesser tag for the <configSections> element:

              <section name="system.webServer" type="System.Configuration.IgnoreSectionHandler,      Organization, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />  </configSections>                          

Step 5: Movement Site or Application to ASP.NET 1.one Application Pool

During installation, Framework v1.1 creates an application pool called "ASP.Net i.1" that is configured to load Framework v1.1 upon startup. To move your site or awarding into this application puddle using IIS Director, please encounter our online documentation. You tin also exercise this from the command line by navigating to the %windir%\system32\inetsrv directory and running the following command line:

appcmd set app "Default Web Site/" /applicationPool:"ASP.NET ane.1"If y'all would like to create a new application pool that'southward configured to load Framework v1.1, please see our online documentation for creating an application pool. Y'all tin can also practise this from the command line by navigating to the %windir%\system32\inetsrv directory and running the following control line:

              appcmd add apppool /name:"NewPool"  /managedRuntimeVersion:"v1.1"