Condividi tramite


Enabling IIS 7.X on Windows 7, Vista SP1, Windows 2008, Windows 2008/R2

To set up IIS to run ASP.NET applications (including MVC 3 and Web Matrix):

  1. Install the Microsoft Web Platform Installer 3.0  from here.

  2. Run the Web Platform Installer (WPI) and select Products on the top and Server in the left pane. 

    WPI3

  3. Click the Add button for IIS 7 Recommended Configuration.

  4. Click Install.

The image below from Windows 2008 R2/SP1 Server Manger shows the 21 Role Services enabled by the IIS 7 recommended configuration.

EnaledRoles

 

If you need additional features (known as role services in Windows 2008)  such as  Window Authentication, Dynamic compression, or Tracing:

In Windows 7:

  1. Select the windows start button and enter Prog.
     Win7ProgFeatures
  2. Select Programs and Features.
    Win7turnFeaturesOnOrOff
  3. Select Turn Windows features on or off.
  4. Select Internet Information Services.
  5. Select the feature you want to enable. In the image below, Windows Authentication is selected.
    Win7turnFeaturesOnOrOff_winAuthen
  6. Select OK.

In Windows 2008:

  1. Enter Server in the Start menu and select Server Manager.

    StartServerManager

  2. In the Web Server(IIS) section, select Add Role Services (see the Roles image above.)

  3. Select each role service you need.

  4. Select Next.

  5. Select Install.

Comments

  • Anonymous
    June 17, 2011
    hello everyone, i am trying to install II& express in my WINDOWS XP PROFESSIONAL, sp3, but seems , this system is not longer compatible, anyone knows how can i do this, cause i just finished a aplication project and i wanted to deploy in the web server. thanks

  • Anonymous
    July 07, 2011
    The comment has been removed

  • Anonymous
    December 17, 2011
    Many Many thanks... U saved lot of time

  • Anonymous
    April 23, 2012
    I get lost trying to follow Item 2. Where is Web Server(IIS)!! I don't have Windows 2008 Server. I am working on a Win 7 platform using VS 2010 Express, SQL Server 2008 Express R2 and IIS7. Where do I need to look to apply the suggested 'Roles' as outlined in this doc? Thanks  . . . TomJ

  • Anonymous
    February 10, 2013
    hello i want to install sql 2005 and it shows me an warning that iis is not install in this system what should i do for it please some body help me

  • Anonymous
    July 08, 2013
    download the IIS from Microsoft website