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
On a computer with Microsoft® Windows NT® Server installed, install Microsoft® Internet Information Server (IIS) from the Windows NT Option Pack.
Follow the directions in the installation.
To install the Personal Web Server from the Windows NT Option Pack
On a computer with Microsoft® Windows NT® Workstation installed, install the Microsoft Personal Web Server (PWS) from the Windows NT Option Pack.
During the setup, select Custom (rather than Minimum or Typical).
In the Installation dialog box, in the Components list, select Personal Web Server. Click Show Subcomponents.
Confirm that the Internet Service Manager is selected.
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
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.
In the Microsoft Management Console, expand the Console Root node.
In the Console Root node, expand the Internet Information Server node.
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
In the IIS server node for the chosen Web server, select the Default Web Site.
On the Action menu, click Properties.
In the Default Web Site Properties dialog box, select the Home Directory tab.
On the Home Directory tab, confirm that the Access Permissions: Write check box is selected.
Click Apply.
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.
On the Inheritance Overrides dialog box, click OK.
On the Home Directory tab, click OK.
To confirm that the IIS Scripts folder has execute permission
Open the IIS Management Console and locate your Web server.
In the Internet Information Server node, expand the Default Web Site node. Select Scripts.
On the Action menu, click Properties.
In the Properties dialog box, click the Virtual Directory tab.
On the Virtual Directory tab, confirm that Permissions is set to Execute (including script).
Click OK.