Share via


Internet Information Service (IIS) Hosting Instructions

To run the samples that are hosted by Internet Information Services (IIS), you must make sure that IIS is properly installed and is running.

To install IIS Version 5.1 on Windows XP with Service Pack 2 installed

  1. In Control Panel, click Add or Remove Programs.

  2. In the Add or Remove Programs dialog box, click Add/Remove Windows Components.

  3. In the Windows Components Wizard, select the Internet Information Services (IIS) check box, and then click Next.

  4. If the Files Needed dialog box is displayed, insert your operating system installation disc, browse to the i386 folder, and then click OK.

  5. When installation completes, click Finish.

  6. Close the Add or Remove Programs dialog box, and then close Control Panel.

To install IIS version 6.0 on Windows Server 2003

  1. From Manage Your Server, click Add or remove a role, and then click Next.

  2. Select Application server (IIS, ASP.NET) from the Server Role list, and then click Next.

  3. Check Enable ASP.NET, and then click Next.

  4. If the summary of selections is correct, click Next.

  5. If the Files Needed dialog box is displayed, insert your operating system installation disc, browse to the i386 folder, and then click OK.

  6. When installation completes, click Finish.

To install IIS version 7.0 on Windows Vista

  1. Click Start and select Control Panel.

  2. Select the Programs group.

  3. Under Programs and Features, select Turn Windows Features on or off.

  4. The User Account Control dialog is displayed, click Continue.

  5. The Windows Features dialog is displayed. Expand the item labeled Internet Information Services.

  6. Expand the item labeled World Wide Web Services.

  7. Expand the item labeled Application Development Features.

  8. Make sure the following items are selected:

    1. .Net Extensibility

    2. ASP.NET

    3. ISAPI Extensions

    4. ISAPI Filters

  9. Expand the item labeled Web Management Tools, select IIS Management Console.

  10. Expand the item labeled IIS 6 Management Compatibility, select IIS 6 Scripting Tools.

  11. Expand the item labeled Microsoft .NET Framework 3.0, select Windows Communication Foundation Http Activation.

  12. Click OK.

To verify installation of IIS and ASP.NET

  1. Save the HTML file found at the end of this topic in the root \InetPub\wwwroot directory and name it Default.aspx.

  2. Open a browser window.

  3. Type https://localhost/Default.aspx in the address box and press ENTER.

  4. A Web page with the text "Hello World" should appear.

Sample Code

<html>
   <body>
       <form >
           <h3> Hello World
           </h3>
       </form>
   </body>
</html>

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.