Configuring an IIS Server to Be a Deployment Target

To deploy items from one computer to another requires that the deployment target be valid. A valid deployment target is a computer set up as a Web server with specific software, such as the Microsoft® Internet Information Server (IIS) or the Personal Web Server (PWS). This receiving Web server can be configured with a variety of Web server software, but the best performance comes from using IIS or PWS.

With IIS or PWS installed on your Web server, you can deploy Web content, applets, and controls with no further configuration. To set up your Web server for server-side components, you need to install the Microsoft® Posting Acceptor 2.0 on the Web server and do some additional configuration steps to your IIS or PWS server.

The following basic steps to setting up an IIS Web server for deployment are given in more detail in this topic.

  • Install Microsoft Internet Information Server (IIS) 4.0 on the Web server.

  • Install Posting Acceptor 2.0 on the Web server. (Optional. This is for deploying server-side components.)

  • Open the IIS Management Console and locate the Web server.

  • Set write permission on the folders that you want to use for deployment on the Web server.

  • Confirm that the IIS Scripts folder has execute permission.

When you are done with these steps, your Web server is configured to receive deployment of server-side components as well as Web content.

To install Microsoft Internet Information Server (IIS) 4.0 from the Windows NT Option Pack

  1. On a computer with Microsoft® Windows NT® Server installed, install Microsoft® Internet Information Server (IIS) from the Windows NT Option Pack.

  2. Follow the directions in the installation.

To install the Personal Web Server from the Windows NT Option Pack

  1. On a computer with Microsoft® Windows NT® Workstation installed, install the Microsoft Personal Web Server (PWS) from the Windows NT Option Pack.

  2. During the setup, select Custom (rather than Minimum or Typical).

  3. In the Installation dialog box, in the Components list, select Personal Web Server. Click Show Subcomponents.

  4. Confirm that the Internet Service Manager is selected.

  5. Click OK and continue the installation.

To install Posting Acceptor 2.0 on the Web server

  • Install Posting Acceptor 2.0 on the same computer that you put IIS or PWS. You can run the installation from the Microsoft® Visual Studio™ Server Setup.

    Note   If you are installing from the Microsoft® Visual J++™ CD, you must install Posting Acceptor 2.0 by running pasetup.exe from the Visual J++ CD's deploy directory.

To open the IIS Management Console and locate your Web server

  1. On the Windows Start menu, point to Programs, point to Windows NT 4.0 Options Pack, point to the Microsoft Internet Information Server, and then click Internet Service Manager.

  2. In the Microsoft Management Console, expand the Console Root node.

  3. In the Console Root node, expand the Internet Information Server node.

  4. In the Internet Information Server node, expand the IIS server node for the server you want to configure.

    Now that you've located your Web server, you can configure that Web server for deployment.

To set Write permission on the IIS folders that you want to deploy to

  1. In the IIS server node for the chosen Web server, select the Default Web Site.

  2. On the Action menu, click Properties.

  3. In the Default Web Site Properties dialog box, select the Home Directory tab.

  4. On the Home Directory tab, confirm that the Access Permissions: Write check box is selected.

  5. Click Apply.

  6. In the Inheritance Overrides dialog box, select only the folders to that these new settings will apply for deployment.

    Warning   You will not be able to deploy to folders which do not have these new settings.

  7. On the Inheritance Overrides dialog box, click OK.

  8. On the Home Directory tab, click OK.

To confirm that the IIS Scripts folder has execute permission

  1. Open the IIS Management Console and locate your Web server.

  2. In the Internet Information Server node, expand the Default Web Site node. Select Scripts.

  3. On the Action menu, click Properties.

  4. In the Properties dialog box, click the Virtual Directory tab.

  5. On the Virtual Directory tab, confirm that Permissions is set to Execute (including script).

  6. Click OK.