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
In Control Panel, click Add or Remove Programs.
In the Add or Remove Programs dialog box, click Add/Remove Windows Components.
In the Windows Components Wizard, select the Internet Information Services (IIS) check box, and then click Next.
If the Files Needed dialog box is displayed, insert your operating system installation disc, browse to the i386 folder, and then click OK.
When installation completes, click Finish.
Close the Add or Remove Programs dialog box, and then close Control Panel.
To install IIS version 6.0 on Windows Server 2003
From Manage Your Server, click Add or remove a role, and then click Next.
Select Application server (IIS, ASP.NET) from the Server Role list, and then click Next.
Check Enable ASP.NET, and then click Next.
If the summary of selections is correct, click Next.
If the Files Needed dialog box is displayed, insert your operating system installation disc, browse to the i386 folder, and then click OK.
When installation completes, click Finish.
To install IIS version 7.0 on Windows Vista
Click Start and select Control Panel.
Select the Programs group.
Under Programs and Features, select Turn Windows Features on or off.
The User Account Control dialog is displayed, click Continue.
The Windows Features dialog is displayed. Expand the item labeled Internet Information Services.
Expand the item labeled World Wide Web Services.
Expand the item labeled Application Development Features.
Make sure the following items are selected:
.Net Extensibility
ASP.NET
ISAPI Extensions
ISAPI Filters
Expand the item labeled Web Management Tools, select IIS Management Console.
Expand the item labeled IIS 6 Management Compatibility, select IIS 6 Scripting Tools.
Expand the item labeled Microsoft .NET Framework 3.0, select Windows Communication Foundation Http Activation.
Click OK.
To verify installation of IIS and ASP.NET
Save the HTML file found at the end of this topic in the root \InetPub\wwwroot directory and name it Default.aspx.
Open a browser window.
Type https://localhost/Default.aspx in the address box and press ENTER.
A Web page with the text "Hello World" should appear.
Sample Code
<html>
<body>
<form >
<h3> Hello World
</h3>
</form>
</body>
</html>
Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.