1. Go to "Control Panel"-"Double-click Add or Remove Programs"-"click Add/Remove Windows components".
2. In the Components list box, double-click Application Server.
3. Double-click Internet Information Services (IIS).
4. Choose "World Wide Web Service" and "File Transfer Protocol (FTP) service" from.
5. Double-click "World Wide Web Services" to select Active Server Pages and World Wide Web services.
After you install IIS, then set up your Web server, as follows:
1. From the Start menu, choose Administrative Tools →internet Information Services (IIS) Manager.
2. In Internet Information Services (IIS) Manager, double-click Local computer.
3. Right-click the Web site, select new → site in the pop-up menu, and open the Site Creation wizard.
4. Fill in the "website description", "IP address", "Port number", "Path" and "website access" in turn. Finally, you should also set the default document (Index.asp, index.htm) for easy access.
This setting is basically the same as the Windows Server site settings, but the Web service is also available only for static content, that is, static pages can be browsed normally, and common active Server pages (ASP) features are not enabled. You should also choose to allow Active Server Pages in the Web service extensions for Internet Information Services (IIS) Manager.
Also note that if the Web Service home directory is in NTFS format, and the ASP Web page has write operations, such as the use of the news background management function, be careful to set write and modify permissions.